java Multiple_2_and_5

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java Multiple_2_and_5相关的知识,希望对你有一定的参考价值。

/*
 * 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_2_and_5 {
    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");
        }
    }
}

以上是关于java Multiple_2_and_5的主要内容,如果未能解决你的问题,请参考以下文章

java Multiple_Of_2_or_5_But_Not_Both

rpm卸载包遭遇 specifies multiple packages 错误

无法下载 http://adcdownload.apple.com/ios/ios_sdk_4.2__final/xcode_3.2.5_and_ios_sdk_4.2_final.dmg

java web-- upload and dowload

Multiple Qubits and Entangled States

Multiple Qubits and Entangled States