Guest User

Untitled

a guest
Jun 14th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int i, age;
  5. char phone[10];
  6. char name[100];
  7. printf("ENTER YOUR NAME:");
  8. gets(name);
  9. printf("ENTER YOUR AGE:");
  10. scanf("%d",&age);
  11. printf("ENTER YOUR PHONE NUMBER:");
  12. gets(phone);
  13.  
  14. puts(name);
  15. printf("%d",age);
  16. puts(phone);
  17.  
  18.  
  19. }
  20.  
  21. #include<stdio.h>
  22. int main()
  23. {
  24.  
  25. char phone[10];
  26. printf("ENTER YOUR PHONE NUMBER:");
  27. gets(phone);
  28. puts(phone);
  29. }
Add Comment
Please, Sign In to add comment