Write equivalent java statements for the following situation. If X has a value greater than 20 then increment the value of J by 1 otherwise decrement the value by 2
Answers
Answered by
5
Answer:
NAMASTE, HOLA, HELLO!!
YOUR ANSWER:-
if(x>20){
j++;
}else{
j-=2;
}
It Can be Also an Illustration/Example of Shorthand Operator as well..
HOPE YOU LIKE IT!
MARK AS BRAINLIST!!
Similar questions