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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!