Ask your own question, for FREE!
Mathematics 8 Online
blankdaddy:

If you evaluated the statements for an if-else statement in a Java program, which format would produce ‘Answer is yes’ when the variable choice = 5? if (choice<3) {System.out.println (‘Answer is yes’); } else {system.out.println (‘Answer is no’); if (choice>3) {System.out.println (‘Answer is no’); } else {system.out.println (‘Answer is yes’); if (choice>3) {System.out.println (‘Answer is yes’); } else {system.out.println (‘Answer is no’); } if (choice=3) {System.out.println (‘Answer is yes’) else {system.out.println (‘Answer is no’); }

blankdaddy:

if (choice>3) {System.out.println (‘Answer is yes’); } else {system.out.println (‘Answer is no’); }

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!