Answered step by step
Verified Expert Solution
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 objectoriented 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 where a and are both integers. You may assume that is positive for simplicity, and the application does not need to check this. However, if the value of 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 functions 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 For example, if your team number is SEVEN, and you should do Task of this assignment.
Practical Work
Using Jupyter Notebook, develop an objectoriented 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 where a and are both integers. You may assume that
is positive for simplicity, and the application does not need to check this. However, if the value of 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 functions 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 For example, if your team number is SEVEN,
and you should do Task of this assignment.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started