Question: Goal: Utilizing variables and data types to store user inputs. Implementing input / output operations for interaction with the user. Using string concatenation and formatting.
Goal: Utilizing variables and data types to store user inputs. Implementing inputoutput operations for interaction with the user. Using string concatenation and formatting.
Assignment: You are developing a program for a virtual event planning service. The program will ask users to input details about an event they are planning and then output a summarized plan based on their input.
The user should provide the following inputs
Their name.
The type of event they are planning eg birthday party, wedding, conference
The location of the event.
The number of guests expected.
The main theme or color scheme of the event.
The name of a key guest or speaker.
After collecting the inputs, the program should create an event summary. Note that some of the input might contain multiple words, so retrieve them accordingly. The summary should include all the user's inputs, formatted coherently and readable.
Sample Run
Please enter your name:
name
Please enter the type of event you are planning:
event type
Please enter the location of the event:
location
Please enter the number of guests expected:
Please enter the main theme or color scheme of the event:
theme
Please enter the name of a key guest or speaker.
guest
Hello name
Your event type is all set to happen at location
You can expect around number of guests guests to join the celebration.
The event will be adorned with a theme theme, making it a memorable day.
Special guest guest will be the highlight of the event.
We are looking forward to helping you make your event successful!
Note: You must write A complete C program, comprehensive of any inclusion preprocessor directives, namespace declaration, and the main function with its return. Use the sample run to determine which messages to display to the user.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
