prettybrighteyp2zyrf prettybrighteyp2zyrf
  • 23-01-2018
  • Mathematics
contestada

how do you loop a fraction

Respuesta :

AnswerTaker
AnswerTaker AnswerTaker
  • 05-02-2018
How come when I attempt to iterate through a loop (for or while) I am unable to increase it by a fraction (let's say 0.5). If I start with a variable defined as 0 then ask it to increase by 1 each time (++) up until 5 it works fine. However, if I ask it to increase by 0.5 it causes an infinite loop. Clearly there is an error with the incremental formula.

Answer Link

Otras preguntas

4/5 plus 3 1/10 old help me with this problem
What is the meaning of the letters in Mathematics?
One number is four more than a second number. Two times the first number is 12 more than four times the second number. Solve.
pls help will give brainliest
I need to know how to do a)^
Solve the equation. y + 6 = –3y + 26 y = –8 y = –5 y = 5 y = 8
the main function of a school board is to A) serve as a school principal, teachers, and administrators B) propose and legislate state law that affect the publ
In triangle QRS, if QR is congruent to RS, angle Q = 8x - 17, angle R = 19x + 4, & angle S = 5x + 1, find x & the measure of each angle.
Help please thank you!
which front is more likely to cause humidity? A. Cold Front B. Occluded Front C. Warm Front D. None of the above