Simple encryption solution clarification

function coded = caesar(enter,inc)
storev=double(enter);
answ=storev(1:length(storev))+inc;
coded=char(answ);
fprintf('%S',coded)
I dont think the code is correct but can you please point our the mistakes in it
Thanks in advance

Answers (0)

Categories

Asked:

on 21 Jul 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!