SyntaxFix
Write A Post
Hire A Developer
Questions
Just to add, we can use array as well:
int i, array[4]; printf("Enter Four Ints: "); for(i=0; i<4; i++) { scanf("%d", &array[i]); }