Write a C program to get a character from the user. And display the message "Yes" if and only if the given character is not equal to 'n' or 'N'
Example
input:
*
output:
Yes
input:
n
Answers
Answered by
1
Answer:
#include<studio.h>
int main()
{
char a;
scand("%c",&a);
if(a!='n'||a!='N')
printed("Yes");
return 0;
}
Similar questions
Physics,
1 month ago
Math,
3 months ago
India Languages,
3 months ago
English,
10 months ago
Math,
10 months ago