Which scenario would make sense to implement a forloop?
a)
Computing the amount of caffeine in an input size cup ofcoffee
b)
Computing how many miles a car can drive with 10 gallons ofgas
c)
Computing whether 10 numbers are even or odd
d)
Computing the number of pizzas to buy with an input number ofpeople
Which scenario would make sense to implement a for loop? a) Computing the amount of caffeine in an input size cup of cof
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am