Celebs car hire company has a range of cars for rent. Charges start at £20 a day for the cheapest to £70 a day for the most expensive. The company requires a program that gives customers printed details of charges. The program asks the user for a car make, model and daily rate1 then displays a table of daily charges for between one and fourteen days.
Write a console application that uses at least five (5) different methods of Math class. Provide a meaningful identifier of the variables or constants. Name the namespace as MathApp and its class as MathProgram.
Write an application for a furniture company; the program determines the price of a table. Ask
the user to choose one for pine, 2 for oak, or three for mahogany. The output is the name of the
wood chosen as well as the price of the table. Pine tables cost $100, oak tables cost $225, and
mahogany tables cost $310. If the user enters an invalid wood code, set the price to zero. Save
the file as Furniture.cs
Write a program that produces the following output:
CCCCCCCCC ++ ++
CC ++ ++
CC ++++++++++++++ +++++++++++++++
CC ++++++++++++++ +++++++++++++++
CC ++ ++
CCCCCCCCC ++ ++
Using Visual Studio, create a simple program that will have the following features:
-ask the user to input the desired size of an array
-let the user input values to be saved in the declared array
-display all the values saved in the created array
For this solution, you are required to make use of a switch statement. Write a program that reads in a month of the year as a number (eg 1 for January, 4 for April) and then displays the number of days in that month. Once you have planned the basic solution, take note that leap years has an impact. However, the only impact it has is when a user has specified the value for February – you should then ask the user for the year of interest. You do not need to write specialised functionality to determine whether a year was a leap year, as C# has a build-in method which can be used. In short summary: The DateTime.IsLeapYear() method in C# can be used to check whether the specified year is a leap year.
The Saffir-Simpson Hurricane Scale classifies hurricanes into five categories numbered 1 to 5.
Write a program that outputs a hurricane’s category based on the user’s input of the wind speed.
You may assume that wind speeds will be provided as integer values.
The categories are as follows:
252 km/h or higher-- 5
209 – 251 km/h --4
178 – 208 km/h --3
154 – 177 km/h-- 2
119 – 153 km/h --1
Any storm with winds of less than 119 km/h is not a hurricane
Write a program that asks a user for an IQ score. If the score is a number less than 0 or greater
than 200, issue an error message. Otherwise issue a message according to the following values:
Under 100 Below average
100 Average
Above 100 Above average
Write a function solution that given an integer n and an integer k, returns the maximum possible three-digit value that can be obtained by performing at most K increases by 1 of any digit in N
Create a class called Employee that includes three pieces of information as data members, a name (type string), ID (type integer) and a monthly salary (type integer). Employee class should have a constructor that initializes the three data members. And employee class should have a destructor which shows message when object of the class is destroyed from the memory. Provide a “setData” and a “getData” function for each data member. If the monthly salary is not positive, set it to -1.
Write a test program that demonstrates class Employee’s functionalities. Create two Employee objects and display each object’s yearly salary after deducting 4% tax.
Note...Its C# Question