Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- char name[13];
- char age[10];
- char times[60];
- scanf("%[^\n]", name);
- scanf("\n[^\n]", age);
- scanf("\n[^\n]", times);
- printf("name:%s age:%s times:%s", name, age, times);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement