Skip to content

Instantly share code, notes, and snippets.

View SkyTheCodeMaster's full-sized avatar
🍁
Canada Eh!

SkyTheCodeMaster

🍁
Canada Eh!
View GitHub Profile
@SkyTheCodeMaster
SkyTheCodeMaster / Triangle.java
Created October 7, 2022 19:32
This gist will contain a Triangle class that takes 3 inputs and calculate the rest of the information about the triangle.
package lessons.trig.util;
@SuppressWarnings("DuplicatedCode")
public class Triangle {
// 1000000.1234 is "null" value, and is large enough to not be used in actual math
private final double Null = 1000000.1234;
String unit = "units";
public double a=Null;
public double b=Null;
public double c=Null;