Melokuhle is a very young intelligent and adventurous individual. He has recently bought 4 quantums (taxi) to transport people around the country. As a result, he is planning a trip to Upington. Therefore, he has hired you to write a program in pseudocode as well as in C++ to evaluate the fuel consumption on his 4 cars during the planned trip. The kilometers and fuel level in the tank at the start and end of the journey should be entered by the end-user. Calculate for each car, the fuel used, kilometers traveled, and the overall fuel consumption in kilometers traveled per litre of fuel.
What will be the appropriate introduction for the topic that says what do you think are the moral values that learners can develop and acquire outdoor activities
What does a rightward shift in the demand curve mean?
Design & Implement a C- program that can handle salesmen records of ABC
Company. Each salesman has unique 4-digit id #, name, salary, monthly sale &
commission (commission is computed depending on value of monthly sale). Net
income of a salesman is salary plus commission. Make maximum use of user
defined Functions.
Conditions for calculating commission are as follows:
➢ Commission is 20% of monthly sale, if sale is equal to or greater than 15,000.
➢ Commission is 15% of monthly sale, if sale is equal to or greater than 10,000
and less than 15,000.
➢ Commission is 10% of monthly sale, if sale is equal to or greater than 8,000
and less than 10,000.
➢ Commission is 5% of monthly sale, if sale is equal to or greater than 5,000 and
less than 8,000.
➢ No Commission, if sale is less than 5,000.
�
Using C# and Visual Studio, design and implement a standalone command line application that fulfils the following requirements:
1. The user shall be able to enter the following values:
a. Gross monthly income (before deductions).
b. Estimated monthly tax deducted.
c. Estimated monthly expenditures in each of the following categories:
i. Groceries
ii. Water and lights
iii. Travel costs (including petrol)
iv. Cell phone and telephone
v. Other expenses
You work in XYZ Corporation as a Data Analyst. Your corporation has told you to visualize the mtcars.csv dataset with various plots. Tasks to be performed:
Dataset Link 1. Plot a histogram for the column ‘wt’.
a. Map the ‘wt’ onto the x-axis.
b. Provide the x-axis label as ‘weight of the cars’.
c. Provide the y-axis label as ‘Count’
d. Set the number of bins as 30.
e. Set the title as ‘Histogram for the weight values
Write recursive functions (you are not allowed using for or while loops) to solve the following problems:
-Write a function that prints hello for 500 times
-x in power y ( )
-Geometric progression with common ratio r. For example, the sequence 2, 6, 18, 54, ... is a geometric progression with common ratio 3
When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This adjustment can be done by normalizing to values between 0 and 1, or throwing away outliers.
For this program, adjust the values by dividing all values by the largest value. The input begins with an integer indicating the number of floating-point values that follow.
Output each floating-point value with two digits after the decimal point, which can be achieved by executing
cout << fixed << setprecision(2); once before all other cout statements.
Ex: If the input is:
5 30.0 50.0 10.0 100.0 65.0the output is:
0.30 0.50 0.10 1.00 0.65 Write a program to find length of string by using pointers
Suppose now that country's national income increases to $13 billion. Assuming the amount paid in taxes is fixed at $3 billion and MPC = 0.75, what will be the new household consumption?