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.0
the output is:
0.30 0.50 0.10 1.00 0.65
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.
NB write an algorithm and a code in C++
Internet is said to be a worldwide interconnected network of computers that allows a
computer in one part of the world to communicate with a computer located somewhere in the
world but it cannot work alone.
In your own words identify and discuss all the:
• Technologies
• Devices
• Software
• Applications that make the internet work.
(Use the report format)
Describe three factors that would cause a company to
Write a program to find length of string by using pointers
1.The user shall be able to enter the following values: a.Gross monthly income (before deductions). b.monthly tax deducted. c.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 2.The user shall be able to choose between renting accommodation or buying a property. 3.If the user selects to rent, the user shall be able to enter the monthly rental amount. 4.If the user selects to buy a property, the user shall be required to enter the following values for a home loan:a.Purchase price of property. b.Total deposit. c.Interest rate (percentage). d.Number of months to repay (between 240 and 360) 5.The software shall calculate the monthly home loan repayment for buying a property based on the values that the user entered.6.If the monthly home loan repayment is more than a third of the user’s gross monthly income, the software shall alert the user that approval of the home loan is unlikely.
Clear Interval
The goal of this coding exam is to quickly get you off the ground with the clearInterval.
Refer to the below image.
Achieve the given functionality using JS.
Write a Java program to do the following, using Object Class and Driver Class
a) Read the names of employeeid, name and salary of all employees.
b) Check whether the given employeeid is present in the array,
if it is not, print the name of the employee and the employeeid.