Question: Assume a variable of the int data type named val contains a positive integer. Write an if statement in Java which displays whether or not
Assume a variable of the int data type named val contains a positive integer. Write an if statement in Java which displays whether or not the contents of val is divisible by four.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
