Return the total rent_value when vehicle_no, rented_date, return_date, with_driver parameters are sent in. with_driver parameter is set to true or false depending whether the vehicle is rented with or without driver.
// declare variables
int inpMark;
string lastName;
char grade = MarkToGrade;
// enter the student's last name
Console.Write("Enter the last name of the student => ");
lastName = Console.ReadLine();
// enter (and validate) the mark
do
{
Console.Write("Enter a mark between 0 and 100 => ");
inpMark = Convert.ToInt32(Console.ReadLine());
} while (inpMark < 0 || inpMark > 100);
question1
*// Use the method to convert the mark into a letter grade
grade = MarkToGrade();
// declare variables
int inpMark;
string lastName;
char grade = MarkToGrade;
// enter the student's last name
Console.Write("Enter the last name of the student => ");
lastName = Console.ReadLine();
// enter (and validate) the mark
do
{
Console.Write("Enter a mark between 0 and 100 => ");
inpMark = Convert.ToInt32(Console.ReadLine());
} while (inpMark < 0 || inpMark > 100);
* // Use the method to convert the mark into a letter grade
grade = MarkToGrade();
question is to use the method to convert the mark into a letter grade
The Information Systems Department is selling T-shirts. Create an attractive user interface that allows users to select sizes (S, M, L, XL) and quantity. Choose the most appropriate controls. Remember, the fewer keystrokes required of the user the better. Provide a menu labelled “Process”. Display the selections made by the user with the Process menu option under a “Display Order” option. Include an option to exit the application from the Process menu option. Include two more sizes, XSmall and XXLarge. Add statements that process the order by calculating the total cost. Each shirt is $16 except the XSmall and XXLarge; their speciality prices are $20 each Display the total cost of then selection. Include a help option that displays instructions. You can enhance your solution by allowing users to purchase different sizes on the same order.