/home/chloe/NetBeansProjects/ADSV Java/lab7_ChloeFontenot/src/main/java/com/chloefontenot/lab7_chloefontenot/Not2.java
/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package com.chloefontenot.lab7_chloefontenot;

import java.util.Scanner;

/**
 *
 * @author chloe
 */
public class Not2 {
    public static void main(String[] args)
    {
        // Create Scanner
        Scanner input = new Scanner(System.in);
        
        // Setup vars
        int number;
        
        // Prompt for input
        System.out.print("Please enter a number that is divisable by 10 and greater than 100: ");
        number = input.nextInt();
        
        // Compute
        //if ( number % 10 == 0 && number > 100)
        if ( ! (number % 10 != 0 || number < 100) ) 
        {
            System.out.println("Thanks for entering number " + number+ "!");
        }
            else
        {
            System.out.println(number + " is not fufilling the request!");
        }
            
    }
}