Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- char v[15];
- int i = 0;
- char c;
- printf("Please enter 5 integers:\n");
- while((c = getchar())!=EOF) {
- v[i] = c;
- int b = c - '0';
- printf("%d\n", b);
- ++i;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement