package com.company;

public class Main {

    public static void main(String[] args) {
//  task1
        int digit1=35;
        int digit2=5;
        boolean divResult=(digit1%digit2)==0;
        System.out.println("("+digit1+","+digit2+") -> "+divResult);
//  task1 ends

//  task2
        double temperature1=150.5;
        double temperature2=30.3;
        boolean isCorrect=(temperature1>100)&&(temperature2<100);
        System.out.println(isCorrect);
//  task2 ends

//  task3
        temperature1=150.5;
        temperature2=-30.3;
        isCorrect=(temperature1>150)||(temperature2<0);
        System.out.println(isCorrect);
//  task3 ends

//  task4
        temperature1=-1;
        temperature2=30.3;
        double temperature3=31.3;
        isCorrect=(temperature1<0)&&(temperature2>0)&&(temperature3>0)&&(temperature2!=temperature3);
        System.out.println(isCorrect);
//  task4 ends
    }
}