Advertisement
vim_fans

Untitled

Oct 10th, 2021
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1.  
  2. int main()
  3. {
  4.  
  5.     int v[15];
  6.     int i = 0;
  7.     int c = 0;
  8.     printf("Please enter 5 integers:\n");
  9.     while((c = scanf(" %d",&c))) {
  10.         //v[i] = c;
  11.         printf("%d\n", c);
  12.         //++i;
  13.  
  14.     }
  15.        
  16.     return 1;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement