@EthanHalvorsen/

TriplesRunners

Java

No description

fork
loading
Files
  • Main.java
  • Triples.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//TriplesRunner - Generates Pythagorean Triples (2/2)
//Nicholas Bolen
//20 May 2019
//Generates all Pythagorean triples from one up to a given number.

//Runs Triples.java
class Main 
{
  public static void main(String[] args) 
  {
    //Reference to Triples.java
    Triples test = new Triples();

    //Loops program
    while(true)
    {
    test.Input();
    test.Calculate();
    }
  }
}