markkoval1999

Untitled

Nov 16th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.49 KB | None | 0 0
  1. #include <ctype.h>
  2. #include <stdio.h>
  3. #include <string.h>
  4. #include <math.h>
  5. #include "str_to_number.h"
  6. int main()
  7. {
  8.     int i = 0;
  9.     char str[100];//str[10][100]
  10.     printf("Enter sentence to translate\n");
  11.     fgets(str, 99, stdin);
  12.     str_to_number(str);//
  13.     getchar();
  14.     getchar();
  15.     return 0;
  16. }
  17.  
  18.  
  19.  
  20. /*do
  21. {
  22.     printf("Enter sentence to translate\n");
  23.     fgets(*(str + i), 99, stdin);
  24.     str_to_number(*(str + i));
  25.     i++;
  26.     printf("\n");
  27. } while (i < 10);*/
Add Comment
Please, Sign In to add comment