Sign In
Ask Question
Mathematics
Kirsten Mccarthy
26 July, 08:59
How do you loop a fraction
+4
Answers (
1
)
Cierra Middleton
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.
Comment
Complaint
Link
Know the Answer?
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
You Might be Interested in
Find the real cubed root - 125/343
Answers (1)
Write the equation of the line with the given slope and y-intercept. slope = 5 y-intercept = 8 A) y = 5x + 8 B) x = 5y + 8 C) y = 8x + 5 D) x = 8y + 5
Answers (1)
There are 7 teams playing in the tournament. Each team is scheduled to play every other team once. How many games will be played during the tournament? A. 15 B. 21 C. 28 D. 36
Answers (2)
Which number has exactly 3 factors
Answers (1)
How do you know when to use L'hospital's rule?
Answers (1)
New Questions in Mathematics
You choose a card from a standard deck cards at random. What's the probability that you don't choose an ace? Explain.
Answers (1)
A company plans to spend exactly 198,000$ annually for advertising a 1 minute radio commercial costs 400$ a 1 minute television commercial costs 5000$ if the company has a total of 60 1 minute television and radio commercials how many of each type
Answers (1)
A bag contains only 3 blue disks, 3 green disks, and 4 orange disks. If 3 disks are selected at random from the bag, what is the probability that 1 of the disks will be green and 2 of the disks will be orangeA) 1/30 B) 1/20 C) 3/40 D) 1/10 E) 3/20
Answers (1)
Factor completely x^2-10x+25
Answers (2)
Which describes the pedestrian crossing sign shown? The sign is a trapezoid because exactly one pair of opposite sides is parallel.
Answers (2)
Home
»
Mathematics
» How do you loop a fraction
Sign In
Sign Up
Forgot Password?