inverted table langage c
#include <stdio.h>
int main(void) {
int i,j,n,t[5],d[5];
printf("How long do you want your table? :");
scanf("%d",&n);
for (i=0;i<n;i++){
printf("enter the %d number :",i+1);
scanf("%d",&t[i]);
}
printf("The inverted table is:\n");
for (i=(n-1);i>=0;i--){
d[i]=t[i];
printf("%d\n",d[i]);
}
return 0;
}