Advertisement
Guest User

Untitled

a guest
Jun 30th, 2020
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(argc, argv)
  4. int argc;
  5. char *argv[];
  6. {
  7.  
  8. int a1, a2, a3, a4, a5, a6, result;
  9.  
  10. a1 = 1; a2 = 2; a3 = 3; a4 = 4; a5 = 5; a6 = 6;
  11.  
  12. result = a1 + a2 + a3 + a4 + a5 + a6;
  13.  
  14. printf("result = %d\n");
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement