Inactive Tutor answered 05/24/22
Tutor
New to Wyzant
36
The loop runs 5 times (3 to 7, inclusive), each time incrementing t by 7. So t, which starts at 1, is incremented by 35, which results in 36.
Isaac H.
asked 05/23/22Look at the following algorithm:
Input: n: real number
Output: undisclosed
Inactive Tutor answered 05/24/22
36
The loop runs 5 times (3 to 7, inclusive), each time incrementing t by 7. So t, which starts at 1, is incremented by 35, which results in 36.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.