Zebra0.com

MCJava program: Fraction Class

Java program: Fraction Class

Imagine that the company you work for is going to create a lot of tutorials on Fractions.  You are to create a robust Fraction class that will have all of the following  (all examples are for a fraction half that has a numerator of 1 and a denominator of 2):

Submit the following as part of this assignment:

A class should not interact with the user. If an invalid value is received it simple does not accept it. It does not display a message, it does not exit. It is up to the calling program to check if the value was accepted and display an appropriate message.

Grading Rubric

Rubric Points
Program works correctly, no errors 5
Comments, good names, indented 1
Code is efficient 2
Word document and Java File 1
Screen shots show good test data 1

Standards

If you do not receive a perfect score you may resubmit it as long as it is resubmitted within 3 days.
Assignment Index

This web site, and all pages therein, are the sole property and responsibility of Zebra0.com.
It is not endorsed, sponsored, or provided by or on behalf of Montgomery College.