Im new to c language and having problems using square root,

square and cube with a for loop. Where does the calculation for the square root, square and cube go in this progam;does the

order in which they are placed matter.

-Loft:

Printable View

- 03-16-2004lotffor loops using square roots, square, Cube
Im new to c language and having problems using square root,

square and cube with a for loop. Where does the calculation for the square root, square and cube go in this progam;does the

order in which they are placed matter.

-Loft: - 03-16-2004WaltPRe: for loops using square roots, square, Cube
Based on what you've told us, no it doesn't matter.

Base on what we have to assume because you haven't told us everything, it might but probably not. - 03-17-2004Salem
> Where does the calculation for the square root, square and cube go in this progam

Well there are two choices

- inside the loop

- outside the loop - 03-21-2004lotfThanks for the input
Thanks for the info.I figured it out: it was very simple. I was just making it seem hard. Thanks

-lotf:cool: