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

Simplify the following​
Calculate expression value : G = 2x^3 + 35x^2 + 15x + 1 with x = -17
Use the graph to find the factorization of x2 - 5x + 4. 10 y = x2.5x + 4 -10 10 10 O A. (x + 2)(x - 2) B. (x - 1)(x-4) O C. (x + 2)(x+4) O D. (x + 1)(x + 4)
Plzz help me with itChapter:Tense​
solve the inequality.. help me out asap plss ​
Alice was paid $231 last week for working 11 hours. What was Alice's hourly pay? Do not include the units in your answer.
who will save you if you get stucked on silo? like, if you called 911 becaus of this reason, is the Police gonna come? Fire Station? Ambulance? ​
list three social implications of the wider range of piracy​
Sally and Mia run a furniture making company. They work together to build and paint custom dressers. Sally charges a $100 flat fee for each dresser she builds,
Scott’s age and his mother’s age is 45. In 5 years’ time, three times Scott’s age less9 will be the same as his mother’s age. Find the present ages of Scott and