We appreciate your visit to Can this be completed in C please need the pseudocode flowchart You have been hired as a programmer for Leading for Leaders a professional development. This page offers clear insights and highlights the essential aspects of the topic. Our goal is to provide a helpful and engaging learning experience. Explore the content and find the answers you need!
Answer :
Yes, this program can be completed in C++. The pseudocode for the program's six functions is as follows:
rust
// Global Constants
RON_BASE = 350.0
MICHAEL_BASE = 1000.0
// Function Definitions
main:
Call menu and dispatch control to the appropriate function based on the user's choice of retreat.
menu:
Display a menu listing each retreat.
Read the user's selection and return it to the main function.
burgundy:
Calculate charges for The Ron Burgundy People Know Me Retreat.
Prompt the user for the number of participants, leadership instruction, and required equipment.
Calculate and display the total charges for the retreat.
scott:
Calculate charges for The Michael Scott World's Best Boss Retreat.
Prompt the user for the number of participants and leadership instruction.
Calculate and display the total charges for the retreat.
cox:
Calculate charges for the Dr. Cox Presents Man Not Caring Retreat.
Prompt the user for the number of participants, lodging type, and number of days.
Calculate and display the total charges for the retreat.
johnson:
Calculate charges for the Tony Johnson's I Really Don't Care Retreat.
Prompt the user for the number of participants and number of days of equipment usage.
Calculate and display the total charges for the retreat.
The program starts in the main function, which calls the menu function to display the retreat options and get the user's choice. Based on the user's selection, the control is then dispatched to the appropriate function (burgundy, scott, cox, or johnson), which calculates and displays the charges for the chosen retreat.
The menu function displays a menu listing each retreat and reads the user's selection. The selected option is then returned to the main function.
Each retreat-specific function (burgundy, scott, cox, and johnson) prompts the user for the required inputs, such as the number of participants, leadership instruction, lodging type, and number of days. These functions calculate the total charges based on the retreat-specific rates and options, and then display the result.
Learn more about Program
brainly.com/question/30613605
#SPJ11
Thanks for taking the time to read Can this be completed in C please need the pseudocode flowchart You have been hired as a programmer for Leading for Leaders a professional development. We hope the insights shared have been valuable and enhanced your understanding of the topic. Don�t hesitate to browse our website for more informative and engaging content!
- Why do Businesses Exist Why does Starbucks Exist What Service does Starbucks Provide Really what is their product.
- The pattern of numbers below is an arithmetic sequence tex 14 24 34 44 54 ldots tex Which statement describes the recursive function used to..
- Morgan felt the need to streamline Edison Electric What changes did Morgan make.
Rewritten by : Barada