write a
Guys pls help me in this
Attachments:
Answers
Answered by
1
Answer:
import java.util.Scanner;
public class Brainly {
public static void main(String [] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if (x > 10 || x < 0 && x > 3) {
System.out.println("Winter");
}
else if (x > 2 && x < 7) {
System.out.println("Summer");
}
else if ( x > 6 && x < 11) {
System.out.println("monsoon");
}
}
}
Similar questions
Math,
21 days ago
Hindi,
21 days ago
Chemistry,
21 days ago
Computer Science,
8 months ago
Math,
8 months ago