Car Rental Scenario Application Name: FLastnameChartingI4Des…

Car Rental Scenario Application Name: FLastnameChartingI4Description: Write a C program that takes user input for renting a car and utilizes selection control structures to produce different outcomes based on the input values. Requirements: Display a menu with rental options and their corresponding rental codes. User Input: Prompt the user to enter a car code (1-5). Prompt the user to enter a rental duration (1-30 days). Selection Control Implementation: Use a switch-case statement to process the selected car type. Use an if-else if structure to display a 10% discount message for rentals longer than 7 days. SAMPLE MENU  1 – Ford Explorer  2 – Chevy Convertible  3 – Dodge Truck  4 – Ford Pinto  5 – Pontiac Grand Prix Expected Behavior:  If the user enters 1, the program should recognize it as a Ford Explorer. If the user enters 20 for the duration, the program should display a 10% discount message. If the user enters an invalid choice, it should display an error message. Program Structure & Formatting: Ensure proper indentation and comments to improve readability. Validate user inputs where necessary. Ensure clear and user-friendly output formatting. Include comments throughout. TIP: For simplicity, make all car rentals the same price. No calculations are required for this program. Sample Input #1 – Valid order Enter the car code (1-5): 2 Enter the duration in days (1-30): 15 Sample Output #1 You selected: Chevy Convertible Days: 15 Total Price: $45.99 per day minus a 10% discount    Sample Input #2 – No Discount Enter the car code (1-5): 3 Enter the duration in days (1-30): 5 Sample Output #2 You selected: Dodge Truck Days: 5 Total Price: $45.99 per day

Movie Ticket Booking System Application Name: FLastnameChart…

Movie Ticket Booking System Application Name: FLastnameChartingI2Description: Write a C program that calculates the total cost of booking movie tickets. Include comments throughout. Note: The sample output shown below is for illustrative purposes only and cannot be used as data for your application.  You should come up with your own Name, items and prices. Requirements: Theater Name The program should use constants for the prices of three different types of tickets and the sales tax rate. The user will input the quantity of each ticket type they wish to purchase. The program should then calculate: The total cost for each ticket category (price × quantity). The subtotal (sum of all ticket costs). The sales tax (calculated as subtotal * tax). The final total (subtotal + tax). The program should display a formatted receipt (lined up properly and all monetary values should be displayed in currency format (dollar sign and 2 decimal places)) that includes: Theater Name Ticket Costs Subtotal Tax Total Amount Due Sample Output =========================================            Movie Theater Name            =========================================Item              Qty    Price    Total—————————————–Adult Ticket       2     $12.50   $25.00Child Ticket       1     $8.00    $8.00Popcorn Combo      1     $10.99   $10.99—————————————–Subtotal:                         $43.99Sales Tax (8.25%):                $3.63—————————————–Total Amount Due:                 $47.62

A nurse is preparing to administer ceftriaxone 1 g via secon…

A nurse is preparing to administer ceftriaxone 1 g via secondary IV infusion over 30 min. Available is 1 g ceftriaxone sodium in 100 mL dextrose 5% in water. The nurse should set the pump to deliver how many mL/hr? (Round the answer to the nearest whole number.) ______ mL/hr

A nurse is preparing to administer ceftriaxone 1 g via secon…

A nurse is preparing to administer ceftriaxone 1 g via secondary IV infusion over 30 min. Available is 1 g ceftriaxone sodium in 100 mL dextrose 5% in water. The nurse should set the pump to deliver how many mL/hr? (Round the answer to the nearest whole number.) ______ mL/hr

A nurse is caring for a client who needs magnesium to stop p…

A nurse is caring for a client who needs magnesium to stop preterm labor. The order is to administer a 4 gram bolus of magnesium over 20 minutes. The pharmacy sends the medication and the label reads: 4 grams of magnesium in 100mL of normal saline. What rate should the pump be at in order to complete the infusion in 20 minutes? (round to the whole number).

The doctor orders your patient to start an IV Heparin drip a…

The doctor orders your patient to start an IV Heparin drip at 16 units/kg/hr and to administer a loading bolus dose of 60 units/kg IV before initiation of the drip. You’re supplied with a Heparin bag that reads 12,500 units/250 mL. The patient weighs 198 lbs. What is the flow rate you will set the IV pump (mL/hr)? (Round to the nearest 10th)