I'm using gedit and my complier is clang. I've been getting a couple of these errors recently and not sure how to fix (error in title and referring to the else statement).
if(isupper(ptext[i]))
if ((((ptext[i]+k)%26)+52) < 65 || (((ptext[i]+k)%26)+52) > 90)
{
printf("%c", (((ptext[i]+k)%26)+78));
}
else
{
printf("%c", (((ptext[i]+k)%26)+52));
}
What should I add/remove/fix? Thanks in advance :)
{}
to make your intentions clearer. – John3136 Jul 23 '15 at 23:37'A'
instead of65
and so on. – M.M Jul 23 '15 at 23:39