writing a conditional statement to check the value of variable num lying in the range of numbers 1500 and 2200 .
Answers
Answered by
1
Answer:
import java.util.Scanner;
class Main {
public static void main(String[] args) {
// take input from users
Scanner input = new Scanner(System.in);
System .out.println("Enter your marks: ");
double marks = input.nex tDouble();
//
}
}
Similar questions