Perdes

Untitled

Nov 9th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. int main() {
  2.  
  3. int i;
  4. int entries;
  5. int minutes, seconds, ttime;
  6. char *snailname[1000];
  7.  
  8. printf("\n\n");
  9. // Start of code
  10.  
  11. printf("Enter the number of snail entries: ");
  12. scanf("%d", &entries);
  13.  
  14.  
  15. for (i=0;i<entries;i++) {
  16. printf("Enter name here: ");
  17. scanf("%s", snailname[i]);
  18. }
  19.  
  20. i=0;
  21. for (i=0;i<entries;i++){
  22. printf("%s", snailname[i]);
  23. }
  24.  
  25. // End of code
  26. printf("\n\n");
  27. return 0;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment