Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- char str[100];
- int no;
- printf("Hello World\n");
- printf("Enter You Name\n");
- scanf("%s", &str);
- printf("Your Name Is %s \n", str);
- printf("How Old Are You?\n ");
- scanf("%d", &no);
- printf("You Are %d Years Old\n", no);
- printf("Hello %s you have lived on earth for %d years.\n", str, no);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement