A+ A A-

  • Written by madhu
  • Hits: 2213

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 

More by madhu

We have 288 guests and no members online