Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ctrl Page of f cis25-C++ Programming: Homework #3-Page 2 of 6 1. Code Assignment/Exercise Exercise 1 A. Update the Fraction class given in the Lecture

image text in transcribed

Ctrl Page of f cis25-C++ Programming: Homework #3-Page 2 of 6 1. Code Assignment/Exercise Exercise 1 A. Update the Fraction class given in the Lecture notes or as discussed in class meetings as follows 1. Add your FIRST NAME and the initial of your last name to the name Fraction and use this as your updated class. For examples, if your first name is Jay Smith then update the class name to be FractionJays. 2. Add and update class constructor for your Fraction class to handle the initialization appropriately There will be ONLY one constructor with 2 arguments. The constructor should have code to confirm the call/use of itself through the printing (e.g.. "Calling Fraction(int, int)") and continue with the display of numerator and denominator after being initialized/built. . . 3. A member function print) that will print the current Fraction object. 4. A member function extractUncommondigit() that will return an array of common digits between the numerator and denominator B. Write a menu program to first display the exercise information as below CIS 25 -C+t Programming Laney College Your Name Assignment Information Assignment Number: Homework 03 Written by: Submitted Date Coding Assignment -- Exercise #1 Your Name Due Date C. Then, the program will start the menu calling functions to produce the output as specified as below REQUIRED PROGRAM OUTPUT CIS 25 C+ Programning Laney College Your Name Assignment Information Assignment Number Homework 03, written by Submitted Date: Coding Assignment -- Exercise #1 Your Name Due Date MENU HWR3 creating/ Updating Fraction . (1) *(2) Displaying the Fraction Digit(s) . (3) Displaying uncommon

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

Recommended Textbook for

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions

Question

What are Electrophoresis?

Answered: 1 week ago