cricket champions
Home 2009 C Message

Fri

29

Jan

2010

C Message
madhu   

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 this Author