Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How to solve Page 1 of 2 2 5 1 - 1 9 3 B - EXAM 1 - DUE - MONDAY - JULY 1

How to solve
Page 1 of 2
251-193B-EXAM 1- DUE -MONDAY-JULY 15 BY 11AM-GIVEN OUT-TH-JULY 11
The program must use a "while loop" to allow for MULTIPLE CUSTOMERS
KNOWN INPUUTVALUES. THAT MUST BE USED IN DETAIL CALCULATIONS
Red yarn rate is 25.50 per Ib
Black yarn rate is 37.99 per lb
Orange yarn rate is 28.99 per lab
Tare rate is 15%
AL tax rate is 5.7%
GA tax rate is 8.9%
MS tax rate is 7.2%
USER INPUT that MUST BE VALIDATED: WITH DO WHILE LOOP
ALSO.. the program must use a "while loop" to allow for MULTIPLE GUEST TRANSACTIONS
Customer First Name
Customer Last Name
Account Manager (JONES or SMITH)
Customer id (1000-9999)
State of Origin (AL, GA or MS)
Yarn Gross weight (1-100.00)
Yarn Color (RED, BLACK, ORANGE)
DETAIL OUTPUT:
Customer First Name
Customer Last Name
Customer Login Id
Customer id (1000-9999)
State of Origin (AL, GA or MS)
Yarn Gross weight (1-100.00)
Yarn Color (RED, BLACK, ORANGE)
Final amount due
Applicable Yarn Rate
Net lbs-Multiply the yarn weight by the Tare Rate
Yarn amount due
TAXAmount due
APPLICABLE TAX RATE
SUMMARY OUTPUT
AVERAGE Yarn Amount for GA customers with a Net lb between 20-70 lbs
AVERAGE Yarn Gross Weight for NON-AL Customers with RED YARN that the
No of Customers Processed
TOTAL Tax Amount Due for MS Customers with RED OR BLACK YARN with a customer number of 2,000-5,00
AVERAGE Final amount due for NON-MS Customers with BLACK OR ORANGE yarn gross weighing 20-80lbs and a Yarn Amount due that is between $3,700-$5,000
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

b. Explain how you initially felt about the communication.

Answered: 1 week ago