- Written by madhu
- Hits: 2430
C Message
C MESSAGE
By J.SARANYA,I IT
#include<studio.h>
Void main()
{
Char c[10];
Print (“enter the character”)
Scanf (“%s”,&c);
if(strcmp(c,” happy”)= =0)
{
Printf(“continue to be happy”);
}
Else
{
Printf(“leave it”);
}
getch();
}
By
J.SARANYA
I IT