16 lines
238 B
C
16 lines
238 B
C
#include <stdio.h>
|
|
|
|
int main() {
|
|
char name[200] = { 0 };
|
|
int age = 0;
|
|
|
|
printf("What is your name? ");
|
|
scanf("%s", name);
|
|
|
|
printf("What is your age? ");
|
|
scanf("%ud", &age);
|
|
|
|
printf("Hello %s\nYou are %d years old\n", name, age);
|
|
|
|
}
|