how to print invalid value for if statement in java code example
Example: if statement java
int x = 3;
if (x == 3) {
// block of code to be executed if the condition is true
}
int x = 3;
if (x == 3) {
// block of code to be executed if the condition is true
}