Sunday, March 14, 2021

1.19. Write a program that read and display a of text.

#include<stdio.h>
#include<conio.h>
void main()
{
char st[100];
clrscr();
printf("Enter any line of text: "):
gets(st);
printf("Text is: %s", st);
getch ();
}

No comments:

Post a Comment