A local business employs five salespeople and pays a 3% bonus on a salesperson’s sales
Your task is to create a program that calculates the amount of each salesperson’s bonus
The program should print each salesperson’s name and bonus amount
Topic: Files and Streams
Codes discussed will be posted here. Write your conclusion on the File stream discussion.
Filename: "Ch5_AccountBalance.cpp"
Given problem and code: Please use the link below
-->>https://drive.google.com/file/d/1tDK28GtTpqbQ_sSKVkpdTQFJQz3gtlcB/view?usp=sharing
*Note need proper codes and conclusion on how its done and about the results. And please give the proper solution and explanation.
Note: Place your conclusion on why did it turn out like that and give your reasons why the results turned like that, one paragraph will do for the explanation and conclusion.
TAKE NOTE: The one who did Question #210013 did not read the instructions properly.
AGAIN!!! READ AND ANSWER, GIVE CONCLUSION IN THE GIVEN CODE IN THE LINK PROVIDED
Write C++ program to generate 10 random numbers in the interval [ 20, 100], and find the mean of the
numbers that are divisible by 3 or 5
Topic: Files and Streams
Codes discussed will be posted here. Write your conclusion on the File stream discussion.
Filename: "Ch5_AccountBalance.cpp"
Given problem and code: Please use the link below
-->>https://drive.google.com/file/d/1tDK28GtTpqbQ_sSKVkpdTQFJQz3gtlcB/view?usp=sharing
*Note: Need the proper codes
*Note need proper codes and conclusion on how its done and about the results. And please give the proper solution and explanation.
Note: Place your conclusion on why did it turn out like that and give your reasons why the results turned like that, one paragraph will do for the explanation and conclusion.
Note: the one who answered Question #210013 did not give the proper answer. Read the question and instructions before answering.
Consider
Class Department:
Class Sector:
• A two-argument constructor to initialize data fields with user-defined values
• A member function display() to show all attribute values
Class Laboratory:
• 3 attributes labID, access_level, sectID , experimentNo
• A three-argument constructor that Initializes labID and experimentNo with user-defined values
Class Person:
• A parameterized constructor to initialize attributes with user-defined values
• A member function display() to show its attribute values
Class Scientist from Person:
• A data field named sciName of type string
• A data field named dept of type Department
• A data field named designation of type string
• A two-argument constructor to initialize both attributes of user-defined values
Class Engineer from Person:
• A constructor to initialize lab with user-defined value
Implement all classes while illustrating concept of aggregation , composition in terms of ownership , life-cycle.
A university wants to automate the cafeteria system you can help by identifying different classes along with their relationships. University café has different customers (Employees, Students) that visit it for buying different kinds of food. We want to make the system online so when a customer wants something he should order it through a server. Whenever a customer comes to café he/she orders the food from specific category. When a user wants to order something menu is displayed showing different food corners (FastFood, ProperMeal, Beverages). After the order is placed generate bill for the user according to the order he has placed. Identify the classes their relationship and function prototype of each class.
Write a c++ program to find;
(I). the perimeter of rectangle.
(ii). the circumference of a circle.
Note;
(1). all the programs must allow the user to make his input .
(2).both programs must have both comment using the single line comment or the multiple line comment to give description to both programs.
Silver Express Theme Park Pvt Ltd is a tourist attraction that offers three types of tickets.
1. Regular adult tickets at R30 per person.
2. Student tickets at R25 per person
3. Family ticket for two adults and two children is R75, with an additional R15 for each child beyond two children
Design a c++ application that will so the following:
a. The program should display a menu with three options.
b. The program should ask the user to select type of tickets needed. If the first or second options are selected, the program should ask the user to enter the number of people in the group. However, if the third option is selected, the program should ask the user to enter the number of additional children in the group.
c. The program should then calculate the total amount due and display it on screen
d. Make sure the user cannot select invalid options in the menu and that the number of people in the group is always greater than 0
Write code to in the form of function to delete a sub-tree of general tree whose parent node is p
Write a python program to display your details like name,age,address in three different lines.