#include<stdio.h>
int main()
{
char ch;
printf("Enter your grade:");
scanf("%c", &ch);
printf("Your grade is %c",ch);
return 0;
return 0;
}
Output of program
Enter your grade:A
Your grade is A
This blog assists in mastering C and C++ programming skills from basics to advanced levels.
No comments:
Post a Comment