J
J
Java Developer2021-03-22 10:10:38
Java
Java Developer, 2021-03-22 10:10:38

How to write a range?

Scanner sc = new Scanner(System.in);
        System.out.println("Reqem daxil edin");
        int n = sc.nextInt();
Как написать диапазон  1<n<100 для n?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-03-22
@vabka

if(1<n && n<100)
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question