Write an algorithm and draw a flow chart for switching off a machine after it has produced 500 glass bottles. Use an appropriate conditional statement.
Answers
Answered by
2
Answer:
1. Begin
2. num_bottles = 0
3. While num_bottles != 500
3.1 Create bottle
3.2 num_bottles = num_bottles + 1
4. Switch off machine
5. End
The flowchart has been added as an attachment
Explanation:
Answered by
1
Answer:
Explanation:
1. Begin
2. num_bottles = 0
3. While num_bottles != 500
3.1 Create bottle
3.2 num_bottles = num_bottles + 1
4. Switch off machine
5. End
Similar questions