(WHILE LOOP) Men and women are running races. We need to know what was the lowest men!s score and the highest women's score. Data are given so that men's scores alternate with those of women: first men's, then women's. The program stops when a time of zero is read for a man's score. A sample input and output are given below. (ifelse with loop)
-----output-----
7.80
5.79
5.80
8.95
0.0
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-47063.pdf
Comments
Leave a comment