0
Why why donāt work ?
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double score = scanner.nextDouble(); // Š²Š°Ń ŠŗŠ¾Š“ double a = 3,5; if(score>a){ System.out.println("Congratulations"); } else { System.out.println("Sorry"); } } } https://code.sololearn.com/ctf8iurh3LsY/?ref=app
1 Answer