Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer the following using C++ Uncle Roger is a local farmer who sells fresh eggs daily. He receives customer orders online. Uncle Roger provides
Please answer the following using C++
Uncle Roger is a local farmer who sells fresh eggs daily. He receives customer orders online. Uncle Roger provides several options for packaging eggs, he has boxes of size: 4,7 , 9, 12, and 20. Uncle Roger has a flat rate price for his fresh eggs, \$0.37 per egg. He charges \$0.75 flat rate handling and processing fee per order and applies a \%6 sales tax rate. In each order, the customer enters their name, number of eggs they want, and the box size to be used. When the order is packaged, customers can pick up their orders. You have been assigned a task to develop program to help Uncle Roger process and prepare customer orders. You need to store the information in variables with proper names and data types. The following information is collected for each request: - Customer's name - Number of eggs Ordered - Box size The following information is printed: - Customer's name - Number of eggs ordered and box size - Number of full boxes + number of individual eggs - Total eggs price (total egg price = number of eggs price per egg) - Final sale price (final sale price =( total egg price + processing fees ) sales tax ) Notes: 1. Include comments (at beginning of your code and inline comments) in your code 2. Use descriptive identifiers for the variables 3. Use named constants when needed 4. Use camelCase naming convention for variables and ALL_CAPS for constants 5. Select the best data type needed for the variable, consider the most efficient data type in terms of bytes needed 6. Make your program interactive and user-friendly. Uncle roger should be able to update egg price, handling fees, and tax rate easily 7. The program must display order's information in a user-friendly format, creativity as highly appreciated Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started