mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-10 04:26:27 +08:00
added comment in front of main method
This commit is contained in:
@ -2,7 +2,7 @@ package Maths;
|
||||
import java.util.*; //for importing scanner
|
||||
|
||||
public class Factorial {
|
||||
public static void main(String[] args) {
|
||||
public static void main(String[] args) { //main method
|
||||
int n = 1;
|
||||
Scanner sc= new Scanner(System.in);
|
||||
System.out.println("Enter Number");
|
||||
|
Reference in New Issue
Block a user