Question: Practical Work Using Jupyter Notebook, develop an object - oriented application that will perform calculations on rational numbers. While you are responsible for the application's

Practical Work
Using Jupyter Notebook, develop an object-oriented application that will perform calculations on rational
numbers. While you are responsible for the application's final design, your application is expected to contain a
class called ratNum representing a rational number (ab), where a and b are both integers. You may assume that
b is positive for simplicity, and the application does not need to check this. However, if the value of b is zero, an
error message should be displayed to alert the user that it is not allowed. Within the class, you must write public
member function(s) to realize one of the following five tasks. The task to do should be determined by the
remainder obtained from dividing your team number by 5. For example, if your team number is SEVEN, 7%5=
2, and you should do Task 2) of this assignment.
 Practical Work Using Jupyter Notebook, develop an object-oriented application that will

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!