/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package BASICJAVA;
import java.util.Scanner;
/**
*
* @author ABIR
*/
public class Multiple_Of_2_or_5_But_Not_Both {
public static void main(String[]args){
Scanner abir =new Scanner(System.in);
System.out.println("Enter your first number");
int number=abir.nextInt();
if(number%2==0 && number%5==0){
System.out.println("Number is Multiple by 2 and 5");
}else{
if(number%2==0){
System.out.println("Multiple of 2 = "+number);
}else{
if(number%5==0){
System.out.println("Multiple of 5 = "+number);
}
}
}
}
}