Respuesta :
This is how to answer this programming question:
#include <stdio.h>
#include <conio.h>
int main(void)
{
char letterStart;
fflush(stdin);
printf("Input character: ");
scanf("%c", &letterStart);
print("Next Letter: %c", ++letterStart);
getch();
clrscr();
}
#include <stdio.h>
#include <conio.h>
int main(void)
{
char letterStart;
fflush(stdin);
printf("Input character: ");
scanf("%c", &letterStart);
print("Next Letter: %c", ++letterStart);
getch();
clrscr();
}
Answer:
#include <stdio.h>
int main()
{
char letterStart;
printf("Enter the character: ");
scanf("%c", &letterStart);
printf("Your output is: %c%c", letterStart, letterStart+1);
return 0;
}
Explanation:
- Declare the character
- Ask the user to enter the character
- Print the letter and the next letter (Adding 1 to the given letter will give us the next letter)