Develop a C++ program that finds the minimum of 4 even numbers entered by the user.?
The program should display the following grades if the minimum value is found within the given interval;
Below 30 Fail
The first that jumps out at me, is you're not setting a value to minval, which means that it'll get assigned the default value of 0. Therefore none of the numbers chosen will be less than that. Giving it the maximum allowed value, will ensure that whatever is chosen will be less than it. Luckily the standard library has a constant for that: