Computer Science, asked by samparaprasadp, 11 months ago

write a following code by using if else statement:
p=(g==9.8)?0:1;​
in java

Answers

Answered by priyanshusingh2286
4

Answer:

if(g==9.8)

{

p=0;

}

else

{

p=1;

}

Similar questions