📅  最后修改于: 2022-03-11 14:52:44.048000             🧑  作者: Mango
import java.util.Scanner;public class Main{public static void main(String args[]){int number;Scanner scan = new Scanner(System.in);System.out.print("Enter the number ");number = scan.nextInt();System.out.print("Entered number " +number);}}