Question
Q1. Write a c++ program that starts with a base class employee. This class contains employees name and employee number. From this class inherit three
Q1. Write a c++ program that starts with a base class employee. This class contains employees name and employee number. From this class inherit three other classes which are manager, scientist and laborer. The manager and scientist classes should contain additional information about these categories of employee and member functions. Override the function which calculate salary of employee in its each child class.
Q2. Calculate the Area and Circumference of a circle. Get radius from file radiusCircle.txt and write Area and Circumference ArCiCircle.txt file. [Hint : Area = Pie*r*r & Circumference = 2*Pie*r].
Q3. PART # 1: Write a C++ program to create a file with your name. Store your name, roll number and class as a text in that file. PART # 2: Write a C++ program to read the data in the file you created in task 1. Print the data in that particular file on the output screen.
Q4. Write a C++ program to search a file. Ask from the user to enter the file name. If the file is found print a success message on the output.
Q5. Write a C++ program to enter name of your subject OOP in the file. The program should ask you to enter the file name in which you want to enter data. If that file does not exist, create a file with that name and enter detail in it. Once data is successfully entered, show a success message on the console.
Q6. SOFTWARE ENGINERRING: Q 1: Create a component diagram of a zoom application. and Create a component diagram of email.
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