MCPcopy Create free account
hub / github.com/Manvityagi/PW-Skills-Java-Course-Codes / main

Method main

Lecture 07_Loops/src/Main.java:4–13  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

2
3public class Main {
4 public static void main(String[] args) {
5 int num = 1;
6 while(true){
7 if(num % 5 == 0 && num % 7 == 0){
8 System.out.println(num);
9 break;
10 }
11 num++;
12 }
13 }
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected