subject
Engineering, 18.09.2019 05:30 bcox32314

Create an application that reads data from a data file. the first line contains the tax rate and the capacity of the shopping bag. each of the rest lines in the data file represents an item: item name, quantity, and retail price. for example, aaa battery 5 0.99, represents 5 aaa batteries that cost $0.99 each. read all items in the data file if the shopping bag is not full. then display a summary of the status of the shopping bag.
sample data file:
0.05 5
colored pencils 3 0.59
notebook 5 0.99
aaa battery 5 0.99
output of the program
the bag contains:
name of the items quantity subtotal
colored pencils 3 $1.77
notebook 5 $4.95
aaa battery 5 $4.95
total: $11.67
tax (5%): $0.58
grand total: $12.25

ansver
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 15:10, theamandawhite
Ahouse has the following electrical appliance usage (1) single 40w lamp used for 4 hours per day (2) single 60w fan used for 12 hours per day (3) single 200w refrigerator that runs 24 hours per day with compressor run 12 hours and off 12 hours find the solar power inverter size in watt with correction factor of 1.25.
Answers: 1
image
Engineering, 04.07.2019 18:10, mm016281
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit. explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
image
Engineering, 04.07.2019 18:10, Larkinlover703
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
image
Engineering, 04.07.2019 18:10, wyattlb97
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
You know the right answer?
Create an application that reads data from a data file. the first line contains the tax rate and the...

Questions in other subjects:

Konu
Biology, 16.09.2021 09:30