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

true or false What makes marketing harder is that it is hard to understand the needs and wants of the customers. ​
Find the midpoint of AC.
determine the dimension of cube when the volume is 1.468mcube​
The slide is inclined at an angle of 52.0°. Danny weighs 46.0 pounds. He is sitting in a cardboard box with a piece of wax paper on the bottom. Stacey is at the
Tall buildings can be a landmark, but why some countries limit the height of houses? IELTS WRITING
if you add km/ hr with another km/ hr what will you get​
can someone help me solve for a ?
What hardware architectures are not supported by Red Hat?
Which of the following words is generally used to describe what managers do as opposed to what leaders do? a) influence b) organize c) inspire innovate d)
Someone help on these