Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #define QTDE 20
- int main() {
- int num[QTDE], i;
- for(i=0; i<QTDE; i++) {
- printf("Qual o numero %d?", i+1);
- scanf("%d", &num[i]);
- }
- for(i=QTDE-1; i>=0; i--)
- printf("\n%d", num[i]);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement