Uploaded by Mahmoud Alkhabit

FLowchart 1 pdf

advertisement
Steps: Step 1. Start. Step 2. Enter the first number. Step 3. Read the number. Step 4. Enter the second number. Step
5. Read the number. Step 6. Enter the third number. Step 7. Read the number. Step 8. Set "max" as the first number.
Step 9. Check if the third number is greater than the current maximum value. Step 10. If true, update the maximum
value to the third number. Step 11. Print the minimum and maximum values. Step 12. Set "min" as the first number.
Step 13. Check if the second number is less than the current minimum value. Step 14. If true, update the minimum
value to the second number. Step 15. Check if the third number is less than the current minimum value. Step 16. If
true, update the minimum value to the third number. Step 17. End.
Download