|
|
C:\Users\~\Desktop\jewellery sale.cpp: In function `int main()': C:\Users\~\Desktop\jewellery sale.cpp:23: error: invalid initialization of reference of type 'unsigned int&' from expression of type 'int' C:\Users\~\Desktop\jewellery sale.cpp:6: error: in passing argument 3 of `double calculateItemCost(double&, char&, unsigned int&)' C:\Users\~\Desktop\jewellery sale.cpp:27: error: `TotalCost' undeclared (first use this function) C:\Users\~\Desktop\jewellery sale.cpp:27: error: (Each undeclared identifier is reported only once for each function it appears in.) C:\Users\~\Desktop\jewellery sale.cpp: At global scope: C:\Users\~\Desktop\jewellery sale.cpp:32: error: expected unqualified-id before '{' token C:\Users\~\Desktop\jewellery sale.cpp:32: error: expected `,' or `;' before '{' token C:\Users\~\Desktop\jewellery sale.cpp:36: error: expected unqualified-id before "switch" C:\Users\~\Desktop\jewellery sale.cpp:36: error: expected `,' or `;' before "switch" C:\Users\~\Desktop\jewellery sale.cpp:45: error: expected unqualified-id before '{' token C:\Users\~\Desktop\jewellery sale.cpp:45: error: expected `,' or `;' before '{' token Execution terminated |
int main()
)double total = ...
break
, not brack
|
|
|
|
recordNum=+1 ;
recordNum +=1;
|
|
|
|
Total = ItemPrice*0.0*ItemQuantioy};
return TotalPrice;
|
|