@Dipspiggy/

How To Project-1

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
10
class Main {
  public static void main(String[] args) {
    int num = 1;
    for (int n = 1; n <= 5; n++) {
      num = num * n;
    }
    System.out.println(num);
  }
}