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
Biology,
1 month ago
Math,
1 month ago
Hindi,
2 months ago
Computer Science,
10 months ago
Math,
10 months ago