Advertisement
Guest User

value

a guest
Feb 23rd, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #define VALUE10
  3.  main(){
  4. int s[VALUE],j;
  5. for ( j= 0; j <= 9; j++) //define values
  6. s[j]= 2+2 *j;
  7. printf("%s%13s\n","Element","value" );
  8. for (j = 0; j<= 9; j++)
  9. printf("%8d%13s\n",j,s[j]);
  10.  
  11.  return 0;
  12.  }
  13. //l need help not output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement