0
The code is correct but it is showing bugs
import java.util.Scanner; public class Boiled { public static void main(String[] args) { Scanner sc=new Scanner (System.in); int T=sc.nextInt(); if(T>=100) { System .out.println("Boiled"); } else{ System.out.println("notboiled"); } } }
4 Answers
+ 4
Check your output.
I'm pretty sure "notboiled" is NOT a correct response
+ 1
Introduction to java
Q:To check if the water is boiled or not
0
Ok
0
I got output