C program to print Square, Cube and Square Root of all numbers from 1 to N
This program will print Square, Cube and Square Root of all Numbers from 1 to N using loop.
Here, we are reading value of N (limit) and will calculate, print the square, cube and square root of all numbers from 1 to N.
To find square, we are using (i*i), cube, we are using (i*i*i) and square root, we are using sqrt(i).
Here, i is the loop counter and sqrt() is the function of math.h, which returns the square root of a number.