Sunday, March 14, 2021

1.18. Write a program that read and display your name.

#include<stdio.h>
#include<conio.h>
void main()
{
char st[30];
clrscr();
printf("Enter your name: "):
scanf("%s", &n);
printf("Your name is: %s", st);
getch ();
}

No comments:

Post a Comment