A certain product is to sell for unitPrice Dollars.Write a program that reads value for unitPrice and totalNumber and then produces a table showing the total price of from 1 through totalNumber units. The table formating is as follows.
Number of Units ///// Total Price
1--- $1.50
2---- $3.00
3---- $4.50
4--- $6.00
5--- $7.50
I have the program written out to a certain extent but I can't get the neccessary output that it is calling for in the table like formatting.
2007-02-08
04:17:46
·
3 answers
·
asked by
gatz1000
4
in
Computers & Internet
➔ Programming & Design