Skip to content

Instantly share code, notes, and snippets.

View kanerogers's full-sized avatar
📹
Reticulating splines

Kane Rogers-Wong kanerogers

📹
Reticulating splines
View GitHub Profile
public class GenericSimpleCalcFactoryFactory {
class SimpleCalcFactory {
class SimpleCalc {
double number = Integer.parseInt(args[0]);
if (number < 0){
System.out.println(Math.pow(number, 2) + (number/2));
return;
}