Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main(void)
- {
- char f,m,l;
- int age;
- printf("Enter your initials, followed by your age: ");
- scanf("%c %c %c %d", &f, &m, &l, &age);
- printf("My initials are: %c%c%c and my age is %d.\n",f,m,l,age);
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement