Question: okay this is the instructions ! Please call your program TheHungryKnight.cpp (5 points) Include the basic header in your program. This includes multi-line comments detailing

okay this is the instructions !
Please call your program TheHungryKnight.cpp (5 points)
Include the basic header in your program. This includes multi-line comments detailing your name, the class name, the name of your program, a brief description of what your program does, and the due date for this assignment. (5 points)
Print a welcome message out to the screen. (5 points)
Read into your program the name the Hungry Knight signs into your register to note the Knights name and personality characteristic. The name entered should be printed as Sir the . For example, if the user enters Robin and Brave, then you should print Sir Robin the Brave out to the console screen when you take the orders. (10 points)
You can assume that each plate of Roast Pheasant costs 15.10 silver pieces, each bowl of Beef Stew costs 3.49 silver pieces, each loaf of fine bread costs 5.17 silver pieces, and each piece of fine fruit costs 1.19 silver
Prompt the user to enter the number of Roast Pheasant plates, bowls of Beef Stew, loafs of fine bread, and pieces of fine fruit that the Hungry Knight consumes and store the values for each of these quantities in appropriately named variables. (10 points each)
Calculate the subtotal price for the entire feast that the Hungry Knight enjoys for that evening at your fine establishment. (10 points)
Calculate the Barons leveraged sales taxes at 5% of the total price for the privilege of owning your fine establishment on the Barons land before adding in that amount to the calculate the final total price for the entire affair. (10 points)
Print the final total price that you will charge the Crown to compensate you for services rendered to the Hungry Knight out to the screen. (10 points)
You do not need to be exact on the white space. A couple of extra lines or not is not an issue as long as your output is
Include comments in your code as required.
You may assume that all user input entered by the user is correctly entered without errors.
and here is what it should look like if the code work
Welcome to the Knights Inn and Tavern, Sir. We are honored to serve the Kings men during these trying days as our Kingdom readies itself for War. Your warhorses shall be looked after at our stable and your rooms prepared for you once you have broken your fast with us for the night. Please free to encourage your men to eat and drink as much as desired, Sir Knight. The Crown will pay for your meal and lodging for you and your horses, Sir.
May I ask for your name for my records, Sir Knight? Sir Robin the Brave
How many plates of Roast Pheasant will your party require us to prepare, Sir Robin the Brave? 3
How many bowls of Beef Stew will your party require us to prepare, Sir Robin the Brave? 5
How many loafs of fine bread will your party require us to prepare , Sir Robin the Brave? 8
How many pieces of fresh fruit will your party require us to prepare, Sir Robin the Brave? 15
The sub-total for the meal tonight comes to the amount of 121.96 silver pieces.
The Barons sales tax for the meal tonight comes to the amount of 6.098 silver pieces.
The final price for the meal tonight amounts to a total of 128.058 silver pieces.
thank you so much ! T___T

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!