I need to input a list of six numbers into an array and output them backwards and if the number 26 is found, the values should stop printing.Code:#include<stdio.h> #include<stdlib.h> int main() { int number[6],n; for (n=0; n<6; n++) { printf("\nEnter a number "); scanf("%d",&number[n]); printf("%d",number[n]); if (number[n]==26) { printf("\nFound 26!"); break; } } return 0; }
Well I did everything except I do not know how to output them backwards. Any help would be appreciated.