mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-10 21:43:15 +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
|
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");
|
||||||
|
Reference in New Issue
Block a user