rendered paste bodyint main() {
int num, largest, smallest, counter, numero;
float value, average, sum;
cout << "Program 4 Christen Sanford ces0152@unt.edu" << endl << endl;
do {
cout << "Enter a value in the range of 5 to 10: ";
cin >> num;
if ((num < 5) || (num > 10)) {
cout << "This value is not in the proper range; please try again"
<< endl << endl;
}
} while ((num < 5) || (num > 10));
cout << endl;
For (temp=0, temp < 4, temp++) {
counter = num;
numero = 1;
do {
cout << "Enter value " << numero << ":";
cin >> value;
counter--;
numero++;
} while (counter > 0);
}
return 0;
}