Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4. int main (void)
  5.  
  6. {
  7. int n,a;
  8. n = 1;
  9.  
  10. while (n <= 20)
  11. {
  12. printf ("%d %d %d\n", n, pow(n,2), pow(n,3));
  13. n = n+1;
  14. }
  15.  
  16. system("PAUSE");
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement