Write a program that inputs name, age and address from the user and displays it on the screen
Program
#include <stdio.h>
#include <conio.h>>
void main()
Enter y
char name|25].address[30]
Enter
int age
clrscr()
printf("Enter your age:")
Scanf("%d", &age)
printf("Enter your name:");
Scanf(%s", name);
printf("Enter your address");
Scanf(%s, address)
printr(" Your name Is %s in", name):
printf("Your address is %s \n", address),
printf("Your age is %d in", age)
getch()

Comments
Post a Comment