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:
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:
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.
Definition: Politics -- Latin, from
poly meaning many and
tics meaning blood sucking parasites
-- Tom Smothers
> 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
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Thanks for the info.I figured it out: it was very simple. I was just making it seem hard. Thanks
-lotf