Home
О нас
Products
Services
Регистрация
Войти
Поиск
AlbertLotsan
@AlbertLotsan
October 2021
1
17
Report
20 баллов!!!!! Помогите сделать задание на языке Java!
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
lasept
Import java.util.Scanner;
public class MyProg {
public static void main (String[] args) {
Scanner s = new Scanner(System.in);
System.out.print("Введите число: ");
int n = s.nextInt();
if (n<1000 && n>99 && n%5==0)
{
System.out.print("true");
}
else
{
System.out.print("false");
}
}
}
1 votes
Thanks 1
×
Report "20 баллов!!!!! Помогите сделать задание на языке Java!..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
public class MyProg {
public static void main (String[] args) {
Scanner s = new Scanner(System.in);
System.out.print("Введите число: ");
int n = s.nextInt();
if (n<1000 && n>99 && n%5==0)
{
System.out.print("true");
}
else
{
System.out.print("false");
}
}
}