0

Please help, it says there is no output, what to do?(Java)

import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int temp = sc.nextInt(); if(temp >= 100);{ System.out.println("Boiling"); }else{ System.out.println("Not boiling"); } } }

10th Jan 2023, 9:31 AM
ŠžŠ»ŠµŠŗсіŠ¹ Š„Š°Ń€Š»Ń–Š½ŃŃŒŠŗŠøŠ¹
ŠžŠ»ŠµŠŗсіŠ¹ Š„Š°Ń€Š»Ń–Š½ŃŃŒŠŗŠøŠ¹ - avatar
1 Answer
+ 3
Remove semi colon ; after if condition.
10th Jan 2023, 9:38 AM
Jayakrishna šŸ‡®šŸ‡³