Whats am i doing wrong it is not compile
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.35 per square foot. It is to be defined as a constant. The tax
rate is 8.5% applied after the discount. It is to be defined as a constant.
#include namestd;
#define LABOR .35
#define TAX .085
// Function Declarations
void getData (int* a, int* b, float* disc, float* cost);
float calcvalues (int area, float instprice, float sub, float tot);
float instlprice (float* instlprice);
float sub (float* sub);
int main(void)
{
//Local Declarations
//Statements
return 0;
} //main
float calcvalues (float* instlprice, float* sub, float* tot)
{
instlprice (&instlprice);
sub (&sub);
return 0;
}
float instlprice (float instlprice)
{
int a;
int b;
float disc;
float cost;
int area;
float labcost;
float carprice;
//Statements
getData (&a, &b, & disc, &cost);
area = a * b;
carprice = area * cost;
labcost = area * LABOR;
instlprice = carprice + labcost;
return instlprice;
} //instprice
*/
void getData (int* a, int* b, float* disc, float* cost)
{
cout>>("Please enter the length, width, discount and cost: ", a, b, disc, cost);
cin<< ("%d %d %f %f", a, b, disc, cost);
return;
}
*/
float sub (float sub)
{
float disc;
float instlprice;
int a;
int b;
float cost;
getData (&a, &b, &disc, &cost);
instlprice (&instlprice);
sub = disc * instlprice;
return sub;
}