본문내용
/*Problem 41
Write a C++program that creates customers' bills for a carpet company
when the following information is given :
a. The length and the width of the carpet in feet.
b. The carpet price per square foot.
c. The percent of discount for each customer.
The labor cost is fixed at 0.35dollars per square foot.
It is to be defined as a constant.
The tax rate is 8.5% a constant .
The input data consist of a set of three integers and a float,
the length and width of the room to be carpeted,
the percentage of the discount the owner gives to a customer,
and a floating-point number representing the unit price of the carpet.
The program is to prompt the user for this int as follows.(Bold numbers are typical responses.)*/
#include
#include
Write a C++program that creates customers' bills for a carpet company
when the following information is given :
a. The length and the width of the carpet in feet.
b. The carpet price per square foot.
c. The percent of discount for each customer.
The labor cost is fixed at 0.35dollars per square foot.
It is to be defined as a constant.
The tax rate is 8.5% a constant .
The input data consist of a set of three integers and a float,
the length and width of the room to be carpeted,
the percentage of the discount the owner gives to a customer,
and a floating-point number representing the unit price of the carpet.
The program is to prompt the user for this int as follows.(Bold numbers are typical responses.)*/
#include
#include
소개글