Displaying ./code/sternflCode/string2.c#include<stdio.h> /* Get a string from the user Code it by adding a 1 to each item in the string */ int main() { char sentence[70]; printf("Please enter your string "); scanf("%s", sentence); for(int i=0; sentence[i]!=0; i++) sentence[i]++; printf("%s\n", sentence); return 0; } |