added comment in front of main method

This commit is contained in:
Vikrant Khedkar 2020-05-07 20:28:31 +05:30
parent 1c062e2c7a
commit f44f2c176b

View File

@ -2,7 +2,7 @@ package Maths;
import java.util.*; //for importing scanner import java.util.*; //for importing scanner
public class Factorial { public class Factorial {
public static void main(String[] args) { public static void main(String[] args) { //main method
int n = 1; int n = 1;
Scanner sc= new Scanner(System.in); Scanner sc= new Scanner(System.in);
System.out.println("Enter Number"); System.out.println("Enter Number");