hi my name is tameem. i am a new c programmer.
in a c program
i want to give input ""tameem""
and the output will be ""xdphhp""
in a short: the character ""a"" will be replaced by ""d""
i can convert only a character.so how can i convert a word or a
sentence
my character convert program is given below:
#include<stdio. h>
main()
{
char ch;
printf("Enter a Character=");
ch=getchar();
printf("%c",ch+ 3);
}
so please tell me how can i convert a whole sentence.
in a c program
i want to give input ""tameem""
and the output will be ""xdphhp""
in a short: the character ""a"" will be replaced by ""d""
i can convert only a character.so how can i convert a word or a
sentence
my character convert program is given below:
#include<stdio. h>
main()
{
char ch;
printf("Enter a Character=");
ch=getchar();
printf("%c",ch+ 3);
}
so please tell me how can i convert a whole sentence.
Comment