idastan97

CSCI151 L21 P1

Oct 23rd, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.14 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void) {
  5.     char n[50];
  6.     while(scanf("%s", n)>0){
  7.         printf("%i ", atoi(n));
  8.     }
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment