inverted table langage c

Solutions on MaxInterview for inverted table langage c by the best coders in the world

showing results for - "inverted table langage c"
Carina
04 Mar 2016
1#include <stdio.h>
2int main(void) {
3 int i,j,n,t[5],d[5];
4printf("How long do you want your table? :");
5scanf("%d",&n);
6 for (i=0;i<n;i++){
7printf("enter the %d number :",i+1);
8scanf("%d",&t[i]);
9 }
10 printf("The inverted table is:\n");
11 for (i=(n-1);i>=0;i--){
12   
13 d[i]=t[i];
14 printf("%d\n",d[i]);
15 }
16 
17  return 0;
18  }
similar questions
queries leading to this page
inverted table langage c