The flowchart for this algorithm is attached in the given image below.
This refers to the diagrammatic representation of the sequence of codes that are written with conditional statements and executable variables.
Hence, we can see that the flowchart for this algorithm is attached in the given image below.
The flowchart shows the sequence of commands and the conditional statements and corresponding actions when a condition is met or not met.
Read more about flowcharts here:
https://brainly.com/question/24735155
#SPJ1