Simplifying Fractions With java
问题 Hey guys I am working on a SW here I am kinda in need of help, you see we need to make a method where we are gonna simplify fractions. any idea how? here's my code as of now (don't mind the dvalue Method it is already finsih all I need is the simplify method) public class Fraction { public int num; public int den; public double dValue; public void display() { System.out.println("Numerator: "+num); System.out.println("Denominator: "+den); } public double dValue() { dValue = (double)num/den;