Flowchart |
int main ()
{
int x = 0;
printf("\n\t _______________________________________________\n");
printf("\t|\t\t|\t\t|\t\t|");
printf("\n\t|\tNUMBER\t|\tSQUARED\t|\tCUBE\t\|\n");
printf("\t|_______________|_______________|_______________|\n");
while(x <=10)
{
int a, b, c;
printf("\t|\t\t|\t\t|\t\t|");
printf("\n\t|\t%d\t|\t%d\t|\t%d\t|\n", a, b, c);
printf("\t|_______________|_______________|_______________|\n");
x ++;
}
system ("pause");
return 0;
}
Output |
No comments:
Post a Comment