Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Week3;
- /**
- *
- * @author wei96
- */
- public class FractionDemo {
- public static void main(String[]args)
- {
- Fraction fnum = new Fraction();
- fnum.inputValues();
- while(fnum.getNumerator()>=0)
- {
- fnum.outputValues();
- fnum.inputValues();
- }
- }
- }
Add Comment
Please, Sign In to add comment