28.07.2022 - 05:26

A university offers three meal plans. Plan 1 provides seven meals per week for $560 per semester. Plan 2 provides 14 meals per week for $1095 per semester. Plan 3 provides unlimited meals for $1500 pe

Question:

A university offers three meal plans. Plan 1 provides seven meals per week for $560 per semester. Plan 2 provides 14 meals per week for $1095 per semester. Plan 3 provides unlimited meals for $1500 per semester Create pseudocode and a flowchart that asks a student to select a meal plan, asks the student for the number of semesters, and then displays the total price.

Answers (0)
  • Rosalind
    April 16, 2023 в 06:17
    Pseudocode: 1. Display options for meal plans and ask user to input their choice. 2. Display prompt asking user for the number of semesters they will use the meal plan for. 3. Calculate the total cost of the meal plan based on the user's choices. 4. Display the total cost to the user. Flowchart: [Start] -> [Display Meal Plan Options] -> [User Input: Meal Plan Choice] -> [Display Number of Semesters Prompt] -> [User Input: Number of Semesters] -> [Calculate Total Cost] -> [Display Total Cost] -> [End] Explanation: The pseudocode and flowchart outline the process for a student to select a meal plan and calculate the total cost for a certain number of semesters. First, the program displays the meal plan options (Plan 1, Plan 2, Plan 3) and asks the user to input their choice. Then, it prompts the user to enter the number of semesters they will be using the meal plan for. The program calculates the total cost based on the user's choices by multiplying the cost per semester by the number of semesters and adding any additional fees for certain plans. Finally, it displays the total cost to the user. This program allows students to easily compare meal plan options and make an informed decision based on their needs and budget.
Do you know the answer?

Leave a comment

Not sure about the answer?
Find the right answer to the question A university offers three meal plans. Plan 1 provides seven meals per week for $560 per semester. Plan 2 provides 14 meals per week for $1095 per semester. Plan 3 provides unlimited meals for $1500 pe by subject Tech and Engineering, and if there is no answer or no one has given the right answer, then use the search and try to find the answer among similar questions.
Search for other answers
New questions in the category: Tech and Engineering
Authorization
*
*

Password generation