CIS247C Project Week 6 of 7 – Abstract Class and Multiple Inheritance with screenshots – Perfect Solution – Instant Delivery

Lab Price = $9
Please feel free to send us your queries at: support@iqrajavaid.com
Payment methods

Add to Cart

Buy Now

View Cart


Problem Statement
Project Week 6 of 7: Abstract Class and Multiple Inheritance
SUMMARY
There are have two separate goals this week:
1. We are going to create an abstract Vehicle class with a virtual function called checkWarranty to determine if the car is under warranty based on the number of years.
2. We are going to implement multiple inheritance.
Download the instructions and grading rubric in files section or clicking here.
Required Software
Connect to the Lab here.Links to an external site.
STEP 1: Understand the UML Diagram

STEP 2: Create the Project
Create a new project and name it CIS247C_Project6. Copy all the source files from the Week 5 project into the Week 6 project.
Before you move on to the next step, build and execute the Week 6 project.
STEP 3: Modify the Vehicle Class
In the header file, add the abstract class as the base as class vehicle: public ivehicle. and add the prototype void checkwarranty();
In the declaration file, update the displayVehicle() method to add the function call for checkwarranty()
In the declaration file, override the virtual checkwarranty() function. The function should take the difference of the current year and the vehicle year and check if it is within the number of years covered by the warranty. **When completing this step make sure use the dot operator to call the warranty attribute for the getNumYears() method** Refer to the pseudocode for guidance:
currentYear declared as integer and initiated to the value of the current year
check declared as integer and initiated to the difference of currentYear and year of vehicle
if check <= warranty years display "Warranty is valid." else display "Warranty has expired valid." STEP 4: Create Abstract Class iVehicle Add a class header file to define the pure virtual method as virtual void checkwarranty() = 0; STEP 5: Modify the Main Method Update and call the DisplayApplicationInformation and TerminateApplication functions. STEP 6: Compile and Test When done, compile and run your code. Then, debug any errors until your code is error-free. Check your output to ensure that you have the desired output, modify your code as necessary, and rebuild. STEP 7: Screenshots • Capture a screenshot of your working code and paste into a Word document. • Capture a screenshot of your group meeting/discussion and paste in the same Word document. STEP 8: Submit Deliverables • Put all of the Visual Studio Project files into a zip file. • Upload the zip file and screenshots (Word document). • Please include the names of all participating team members in word document. • Only one submission is required for the entire group. CIS247C Week 6 Project Overview The objective this week is to enhance last week's Vehicle class by creating an interface using an abstract class. The abstract class uses a pure virtual method to check if the vehicle is under warranty. In the iVehicle class complete the following steps: • Add a class header file to define the pure virtual method as virtual void checkwarranty() = 0; In the Hybrid class complete the following steps: • No change. In the Warranty class: • No change. In the Vehicle class: • In the header file, add the abstract class as the base as class vehicle: public ivehicle. and add the prototype void checkwarranty(); • In the declaration file, override the virtual checkwarranty() function. The function should take the difference of the current year and the vehicle year and check if it is within the number of years covered by the warranty. **When completing this step make sure use the dot operator to call the warranty attribute for the getNumYears() method** Refer to the pseudocode for guidance: currentYear declared as integer and initiated to the value of the current year check declared as integer and initiated to the difference of currentYear and year of vehicle if (check < warranty years) display "Based on number of years, the car is under warranty." else display "Based on number of years, the car is NOT under warranty." • In the declaration file, update the displayVehicle() method to add the function call for checkwarranty() In the main program: • Update and call the DisplayApplicationInformation function. • Update and call the TerminateApplication function. Grading Rubric Compiles correctly 5 Modify Vehicle class 5 Create abstract class 10 Modify displayVehicle() method 5 Create checkwarranty() method 15 Correctly formatted output 5 Screenshot 5 TOTAL 50 Steps 1. Review instructions and UML diagram. 2. Create a new project and name it "CIS247C_Project6". Copy all the source files from the Week 5 project into the Week 6 project. 3. Compile and test the program to ensure there are no errors. 4. Capture screenshot of working code and paste into word document. 5. Submit zipped visual studio project and screenshot. Refer to the following UML class diagram.

Relevant Material
Screenshots
Week 6: Course Proj Screenshot
Week 6: Course Proj Screenshot
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at support@iqrajavaid.com.
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at support@iqrajavaid.com and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at support@iqrajavaid.com.
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on support@iqrajavaid.com
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Payment Details
Lab Price = $9
Please feel free to send us your queries at: support@iqrajavaid.com

Payment methods

Add to Cart

Buy Now

View Cart

Leave a Reply