taniabehnam636
taniabehnam636 taniabehnam636
  • 04-04-2021
  • Computers and Technology
contestada

Please can anyone write an algorithm

Please can anyone write an algorithm class=

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 09-04-2021

Answer:

The algorithm is as follows:

1. Start

2. Total = 0

3. For days = 0 to 4

3.1 Input Minutes

3.2 Total = Total + Minutes

3.4 Output Total

4. Stop

Explanation:

This starts the algorithm

1. Start

This initializes counter to 0

2. Total = 0

This iterates from day 0 to day 4

3. For days = 0 to 4

This inputs the minutes played for each day

3.1 Input Minutes

This sums up the minutes played for each day

3.2 Total = Total + Minutes

This prints the cumulated minutes for all 5 days

3.4 Output Total

This stops the algorithm

4. Stop

Answer Link

Otras preguntas

What is the total amount of fees if there were 6 withdrawals for cash in a month, 10 uses of an ATM, and 16 debit card transactions? Enter a whole number, like
Why was running the ideal sport for Chris?
3+ FREE)vvfffffddhfbfbbfbfbfjffh
Help me plz I need this done by tomorrow Write a 4 to 5 sentence paragraph on why people should stop littering/leaving garbage on school grounds.
Explain the difference between -✅1 and ✅1
What do the “three G’s” stand for?
When 10.8 g of Silver was reacted with Sulfur, 12.4 grams of product was produced (there was only one product). What is the empirical formula of the product?
What is Quidditch? In the Harry Potter first book
Dan is selling fudge to raise money for the school band. Each box of fudge costs $8. One week he sells 15 boxes, and the next week he sells 17 boxes. How much m
Can anyone help me ASAP!