Feed Headline Animator

Write a program to input a string by using “gets” function and thenprintit on the screen by using the “puts” fuction.

main( )
{
char str[20];
clrscr ();
puts (“Enter a string ? ”);
gets (str);
puts( The string is :”);
puts(str);
getch ();
}


Posted by: Wasim Javed

No comments:

Post a Comment