Question: GC2.1 Create an if statement that will check if the maxValue variable is equal to 100. If true, create a printin statement that will output
GC2.1 Create an if statement that will check if the maxValue variable is equal to 100. If true, create a printin statement that will output "Max reached". Add another if statement that checks if max Value is not equal to 0 to display valid value. int maxValue=39
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
