asked 62.1k views
1 vote
State Polytechnic Management has embarked on secret motivational promo to motivate staff that are dedicated to their job. Rule 1: Staff that comes to school early (7:30 AM) for eight consecutive months will be promoted to the next level, Rule2 staff that stays in the office till closing hour for eight consecutive months (4:PM) will be promoted to the next step. Staff must obey rule 1 and rule 2 to qualify for the promotion.

Represent this information using an algorithm​

1 Answer

7 votes

Answer:

Algorithm:

1. Begin

2. Set counter for months to 0

3. If staff arrive to school at 7:30 AM for 8 consecutive months

4. Increase counter by 1

5. If counter is 8

6. Promote staff to next level

7. If staff stays in office till 4 PM for 8 consecutive months

8. Increase counter by 1

9. If counter is 8

10. Promote staff to next level

11. End

Step-by-step explanation:

answered
User Ranganatha
by
8.7k points