Accept Name, Age from User and Print them on the Screen

int main()
char nam[20];
int age;
printf("Enter Your Name : ");
printf("Enter Your Age : ");
printf("\nYour Name is %s ",nam);
printf("and your age is %d",age);
return 0;



Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C