Simple Input- Integer
Problem Statement
Given an integer N, your task is to take input of the given integer and print it.
import java.io.*; // for handling input/output
import java.util.*; // contains Collections framework
class Main {
public static void main (String[] args) {
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
System.out.println(n);
}
}