Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use C++ Language CIS25-C++ Programming: Homework #3-Page 2 of 6 1. Code Assignment/Exercise Exereise 1 A. Update the Fraction class given in the Lecture

Please use C++ Language image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CIS25-C++ Programming: Homework #3-Page 2 of 6 1. Code Assignment/Exercise Exereise 1 A. Update the Fraction class given in the Lecture notes or as discussed in class meetings as follows, I. 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-CProgramming Laney College Your Name Assignment Information -- Assignment Number Homework 03 Written by Submi tt@d Dat : 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+ Programming Laney College Your Name Assignment Information Assignment Number: Honework 3, Written by: Submitted Date: Coding Assignment .. Exercise #1 Your Name Due Date HW#3 MENU (1) Creating/Updating Fraction *(2) Displaying the Fraction (3) Displaying Uncommon Digit (s) CIS25-C++ Programming: Homework #3-Page 2 of 6 1. Code Assignment/Exercise Exereise 1 A. Update the Fraction class given in the Lecture notes or as discussed in class meetings as follows, I. 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-CProgramming Laney College Your Name Assignment Information -- Assignment Number Homework 03 Written by Submi tt@d Dat : 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+ Programming Laney College Your Name Assignment Information Assignment Number: Honework 3, Written by: Submitted Date: Coding Assignment .. Exercise #1 Your Name Due Date HW#3 MENU (1) Creating/Updating Fraction *(2) Displaying the Fraction (3) Displaying Uncommon Digit (s)

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

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

5. Identify three characteristics of the dialectical approach.

Answered: 1 week ago

Question

7. Identify six intercultural communication dialectics.

Answered: 1 week ago