New course! Every coder should learn Generative AI!
Try a free lesson0
Help. The code does not output the desired answer. Where is the mistake.
Help. The code does not output the desired answer. Where is the mistake. public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); //введите код сюда double averagescore = scanner.nextdouble(); if(averagescore <= 3.5) { System.out.println("Sorry, try again."); } else { System.out.println("Congratulations!"); } } }
1 Answer
+ 1
Thanks!!!