Create BalikDaftar.c
parent
c71864d03f
commit
19758af46f
|
@ -0,0 +1,13 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
int i = 0, a[1000];
|
||||
|
||||
while (scanf("%d",&a[i]) != EOF ) {
|
||||
i = i + 1;
|
||||
continue;
|
||||
}
|
||||
for(i=i-1;i>=0;i--) {
|
||||
printf("%d\n",a[i]);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue