Write a program to print the squares and cube of numbers from 2to 9using do while loop
Answers
Answered by
0
Answer:
lagging fits the zug used TBC get ext fed exec dz ext CCR SFZ xrctxrhducycy
Answered by
0
Answer:
C program to print the squares and cube of numbers from 2 to 9.
Explanation:
#include <stdio.h>
#include <math.h>
int main()
{
int i, n;
n=9
printf("No Square Cube\n", n);
for(i=2; i<=n; i++)
{
printf("%d \t %ld \t %ld \t %.2f\n", i, (i*i), (i*i*i));
}
return 0;
}
Similar questions
Hindi,
5 months ago
Computer Science,
5 months ago
CBSE BOARD X,
11 months ago
English,
11 months ago
Art,
1 year ago
Biology,
1 year ago