Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions