Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // #include <iostream>
- #include <stdio.h>
- int main()
- {
- int Sqr, Cube, count=0;
- printf("number\tsquare\tcube\n");
- while (count<=10)
- {
- Sqr = count*count;
- Cube = count*count*count;
- printf("%d\t%d\t%d\n", count, Sqr, Cube);
- count++;
- }
- // system("PAUSE");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement