diff --git a/09. Array/BalikDaftar.c b/09. Array/BalikDaftar.c new file mode 100644 index 0000000..2ca8565 --- /dev/null +++ b/09. Array/BalikDaftar.c @@ -0,0 +1,13 @@ +#include + +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]); + } +}