Computer Science, asked by shashinisaraswathi21, 3 months ago

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 divyasreeparay
1

Answer:

#include<studio.h>

int main()

{

char a;

scand("%c",&a);

if(a!='n'||a!='N')

printed("Yes");

return 0;

}

Similar questions