Question: The code below is giving the error messages above the lines that there are issues with are bolded. Please fix my code. #include #include using

The code below is giving the error messages above the lines that there are issues with are bolded. Please fix my code.
#include
int main() {
int number; while (true) { cout : "; cin >> number; if (number 10) { cout int highs[number], lows[number]; for (int i = 0; i cin >> highs[i] >> lows[i]; } int max = highs[0], min = lows[0], high_sum = 0, low_sum = 0, num_low = 0; for (int i = 0; i max) { max = highs[i]; } if (lows[i] File Lab4.cpp Lab4.cpp lab4.cpp lab4.cpp Code Description Project Line Suppression State 30 30 30 expression must have a constant value Lab4 Lab4 Lab4 Lab4 expression must have a constant value x) C2131 C4552 Q) C2440 expression did not evaluate to a constant 34 >>': operator has no effect; expected operator with side-effect 'initializing': cannot convert from 'int Lab4 lab4.cpp 36 [number' to 'int
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
