¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
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 Respuesta
+ 1
Thanks!!!