Answered step by step
Verified Expert Solution
Question
1 Approved Answer
College of Engineering Department of Electrical and Computer Engineering Assignment 2 EECE 230 Computers and Programming II Fall 2020-2021 Total Marks 10 Due Date: -
College of Engineering Department of Electrical and Computer Engineering Assignment 2 EECE 230 Computers and Programming II Fall 2020-2021 Total Marks 10 Due Date: - 09 December 2020 Kindly write the following programs in DEV C++: - 1. Make a class named as Arithmetic. { Hint: 1. Define four Member functions named as void ADD 0); void SUB 0; void MUL 0); void DIVO; 2. Take three data items named as a, b and c of integer type. 3. Define an object O of class "Arithmetic" in main() function and call all member functions using the object "O". } 2. Make a BASE class named as "PARENT". { 1. Take three data items i.e. X, Y, and Z (integer type) 2. Generate three Member functions named as Input (), ADD 0, Output () } Make a DERIVED class named as CHILD. { Generate a Member function SUB 0 Construct a proper main () function to call all the member functions
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