search

Home  >  Q&A  >  body text

Teacher, what’s wrong with my approach to the question you asked? Unable to export if you are not a member

import java.util.Scanner;
public class IfElse nested{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
System.out.print("Please enter the score");
double score = input.nextDouble();
if(score < 10){
System.out.println("Congratulations on entering the finals ");
System.out.println("Please enter gender: ");
&nbs

阿智阿智1872 days ago1311

reply all(0)I'll reply

No reply
  • Cancelreply