Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sale model SU6191 = unit price of SU6191 * number of unit model SU6191 sold Sale model SU6192 = unit price of SU6192 * number

image text in transcribed
Sale model SU6191 = unit price of SU6191 * number of unit model SU6191 sold Sale model SU6192 = unit price of SU6192 * number of unit model SU6192 sold Sale model SU6193 = unit price of SU6193 * number of unit model SU6193 sold Subtotal = Sale model SU6191 + Sale model SU6192 + Sale model SU6193 Tax = subtotal * 8.25% Total = subtotal + Tax Balance = amount paid - total The method to prepare the receipt is in the following format: . . . . . .. . . . . . . . . . ..... . RECEIPT - SALE SU0619 PRODUCT Date : 06/15/19 Sale transaction: 150001 . . . . . . .. . . . . Model SU6191 (10.99/per unit) 10 109.90 Model SU6192 (12.99/per unit) 10 129.90 Model SU6193 (14.99/per unit) 10 149.90 Sub total: 389.70 Tax (8.25%) 32.15 Total : 421.85 Amound paid: 500.00 Balance: 78.15 In file for a day sale, for example, file name of day sale on 06/15/2019 is daySale_190615.txt The first column is transaction, second column is number of SU6191 units sold, the third column is the number of SU6192 units sold and the last column is the number of SU6193 units sold. The method to prepare one line to write to the output file has the following format

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

Students also viewed these Programming questions

Question

Discuss the techniques of sales forecasting.

Answered: 1 week ago

Question

Write short notes on Marketing mix.

Answered: 1 week ago

Question

Analyse the process of new product of development.

Answered: 1 week ago