174k views
1 vote
Activity # 1

Write an algorithm and flowchart that will accept number of days and
displays the equivalent number of months and number of hours.
Where, 1 month has 30 days.




I need an answer for this one please

User V Maharajh
by
5.2k points

1 Answer

4 votes

Answer:

input number of days d

calculate number of months as d/30 rounded up

display number of months

calculate number of hours as d * 24

display number of hours

Step-by-step explanation:

The flowchart is pretty straightforward since there are no decisions to make.

User Edie
by
5.8k points