Ask Question
26 July, 08:59

How do you loop a fraction

+4
Answers (1)
  1. 26 July, 09:26
    0
    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.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “How do you loop a fraction ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers