fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int numero[8] = {1, 2, 3, 4, 5, 6, 7, 8};
  5. printf("\nA distribuicao desses numeros em ordem inversa : ");
  6. for (int i = 7; i >= 0; i--) printf("\n--------\n%d", numero[i]);
  7. }
  8.  
  9. //https://pt.stackoverflow.com/q/336064/101
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
A distribuicao desses numeros em ordem inversa : 
--------
8
--------
7
--------
6
--------
5
--------
4
--------
3
--------
2
--------
1