Answered step by step
Verified Expert Solution
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 of
BEXAM DUE MONDAYJULY BY AMGIVEN OUTTHJULY
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 per Ib
Black yarn rate is per lb
Orange yarn rate is per lab
Tare rate is
AL tax rate is
GA tax rate is
MS tax rate is
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
State of Origin AL GA or MS
Yarn Gross weight
Yarn Color RED BLACK, ORANGE
DETAIL OUTPUT:
Customer First Name
Customer Last Name
Customer Login Id
Customer id
State of Origin AL GA or MS
Yarn Gross weight
Yarn Color RED BLACK, ORANGE
Final amount due
Applicable Yarn Rate
Net lbsMultiply 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 lbs
AVERAGE Yarn Gross Weight for NONAL 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
AVERAGE Final amount due for NONMS Customers with BLACK OR ORANGE yarn gross weighing and a Yarn Amount due that is between $$
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