GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

TELL ME YOUR FAVORITE TOPIC IN BIOLOGY AND WHY.

TELL ME YOUR FAVORITE TOPIC IN BIOLOGY AND WHY.

Read Details

Home Repairs Cost Estimator Application Name: FLastnameChart…

Home Repairs Cost Estimator Application Name: FLastnameChartingI2Description: Write a C program that calculates the total cost of materials for home repairs. 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: Business Name The program should use constants for the prices of three different types of materials used in home repair (paint, flooring, roofing, etc.) and a labor cost of 30%. The user will input the quantity of each type of repair they need to purchase. The program should then calculate: The total cost for each material (cost per unit × quantity). The subtotal (sum of all material costs). The labor cost (calculated as subtotal * 30%). The final total (subtotal + labor cost). The program should display a formatted estimate (lined up properly and all monetary values should be displayed in currency format (dollar sign and 2 decimal places)) that includes: Business Name Materials Costs Subtotal Labor Cost Total Estimate Sample Output =========================================        Home Repair Store                =========================================Item                Qty   Price    Total —————————————–Hammer              1     $14.99   $14.99Paint (Gallon)      1     $24.99   $24.99Lumber (8ft)        4     $7.25    $29.00—————————————–Subtotal:                          $68.98Labor (30%):                       $20.69—————————————–Total Amount Due:                  $89.67

Read Details

Restaurant Scenario Application Name: FLastnameChartingI4Des…

Restaurant Scenario Application Name: FLastnameChartingI4Description: Write a C program that takes user input for ordering a meal at a restaurant and utilizes selection control structures to produce different outcomes based on the input values. Requirements: Display a menu with meal options and their corresponding meal codes. User Input: Prompt the user to enter a meal code (1-5). Prompt the user to enter a meal size (S,M,L). Selection Control Implementation: Use a switch-case statement to process the meal selection and display the meal name. Use an if-else if structure to determine the meal price based on the selected size. SAMPLE MENU  1 – Burger  2 – Pizza  3 – Pasta  4 – Salad  5 – Sandwich   Expected Behavior:  If the user enters 1, the program should recognize it as a Burger. If the user enters M for the size, the program should apply the price for a Medium-sized meal. 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, all meals will be the same price, but the sizes are different prices.  No calculations are required for this program. Sample input #1 – Valid order 1 – Burger  2 – Pizza  3 – Pasta  4 – Salad  5 – Sandwich   Enter the meal code (1-5): 2   S – Small meal $8.99 M – Medium meal $10.99 L – Large meal $12.99 Enter the meal size (S, M, L): L Sample Output #1 You selected: Pizza Size: Large  Price: $12.99     Sample Input #2 – Invalid order 1 – Burger  2 – Pizza  3 – Pasta  4 – Salad  5 – Sandwich   Enter the meal code (1-5): 7   S – Small meal $8.99 M – Medium meal $10.99 L – Large meal $12.99 Enter the meal size (S, M, L): M   Sample Output #2 Invalid meal code. Please enter a number between 1 and 5.

Read Details

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

Read Details

Operations Application Name: FLastnameChartingI3Description…

Operations Application Name: FLastnameChartingI3Description: Write a C program that takes an integer input from the user and determines: If the number is greater than 0 or not greater than 0. If the number is even or odd. If the number is evenly divisible by 2 and 5 or not evenly divisibly by 2 and 5 (A number is evenly divisible by another if the division leaves no remainder.) Use the ternary conditional operator (? 🙂 and incorporate logical operators (&&, ||, !) where appropriate. . Include comments throughout. Requirements: Get input from user Use conditional operator with relational statements to do #1 and #2 above. Use conditional operator with relational statements and a logical operator to do # 3 above. The input/output should be similar to the following: Example 1 Input Enter an integer User enters 30 Output Greater than 0 Even Evenly divisible by 2 and 5 Example 2 Input Enter an Integer User enters -7 Output Not greater than 0 Odd Not evenly divisible by 2 and 5

Read Details

Homework and exams on MyITLab is due by what time (Central T…

Homework and exams on MyITLab is due by what time (Central Time Zone)?

Read Details

A pediatrician orders a single dose of a liquid antibiotic f…

A pediatrician orders a single dose of a liquid antibiotic for a child who weighs 44 pounds. The order states to administer 15mg/kg of the medication. The concentration of the available liquid medication is 250mg/5mL. How many mL should the nurse draw up? (round to the whole number)

Read Details

A major physiological consequence of long-term alcohol abuse…

A major physiological consequence of long-term alcohol abuse can be:

Read Details

Which law first required proof of drug safety before marketi…

Which law first required proof of drug safety before marketing?

Read Details

Prescription drugs differ from OTC drugs mainly because pres…

Prescription drugs differ from OTC drugs mainly because prescription drugs:

Read Details

Posts pagination

Newer posts 1 2 3 4 5 6 … 74,049 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top