Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- int main (void)
- {
- int n,a;
- n = 1;
- while (n <= 20)
- {
- printf ("%d %d %d\n", n, pow(n,2), pow(n,3));
- n = n+1;
- }
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement