Advertisement
sst311212

temp

Mar 29th, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. // #include <iostream>
  2. #include <stdio.h>
  3.  
  4. int main()
  5. {
  6.     int Sqr, Cube, count=0;
  7.     printf("number\tsquare\tcube\n");
  8.     while (count<=10)
  9.     {
  10.         Sqr = count*count;
  11.         Cube = count*count*count;
  12.         printf("%d\t%d\t%d\n", count, Sqr, Cube);
  13.         count++;
  14.     }
  15.     // system("PAUSE");
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement