1#include <stdio.h>
2int main(void) {
3 int i,n,x,t[n],tab[n];
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("What number do you want to add to the table? :");
11 scanf("%d",&x);
12 printf("the new tab is : \n");
13 for (i=0;i<n;i++){
14 tab[i]=t[i]+x;
15 printf("%d\n",tab[i]);
16 }
17
18 return 0;
19 }