Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please create an Input, Processing Output table for the following Uncle Roger is a local farmer who sells fresh eggs daily. He receives custemer orders

image text in transcribed
Please create an Input, Processing Output table for the following Uncle Roger is a local farmer who sells fresh eggs daily. He receives custemer 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, 50.37 per egg. He charges S0.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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

IBM Db2 11 1 Certification Guide Explore Techniques To Master Database Programming And Administration Tasks In IBM Db2

Authors: Mohankumar Saraswatipura ,Robert Collins

1st Edition

1788626915, 978-1788626910

More Books

Students also viewed these Databases questions

Question

Should there be an insanity defense?

Answered: 1 week ago