Question
in c++ Using a while loop write a program that takes in a list of positive INTEGER values from the user. Once the user types
in c++ Using a while loop write a program that takes in a list of positive INTEGER values from the user. Once the user types in a negative value the program outputs the highest number the user typed in divided by the lowest number. You can assume the user never types in a 0 value. Copy and paste the cout in the output to ensure you are printing out in the same format as the output. Requirements 1) Program makes user cin integer values 2) Program utilizes a while loop correctly 3) Program outputs correct value of highest/lowest
if input is 10 5 -1
output will be
input a positive integer or a negative integer to stop the highest/lowest is:2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started