Computer Science, asked by rehan33, 1 year ago

rewrite the following usi g if else statements
status =(age==18)?"adult":"child";

Answers

Answered by mohini15
0
adulthood feeling
ok

rehan33: itss not answer
Answered by 101pranav
4
If (age==18)
System.out.print("adult ");
Else
System.out.print("child ");

BadaSaGadha: No it should be if (age>18) not (age==18) :)
Similar questions