#include<stdio.h> #include<conio.h> #include<math.h> int main() { int i, number; clrscr(); printf("\n Enter the value of number: "); scanf ("%d", &number); printf("\n -----------------------------"); i=1; do { printf("\n I \t %d \t I \t %d \t I \t %d \t I", i,pow(i,2) , pow(i,3)); i++; } while(i<=number); printf("\n ----------------------------------"); return 0; }