Using our first version of Sales_data from § 2.6.1 (p. 72), explain the following initialization. Identify and fix any problems.
Sales_data item = {"978-05903534 03", 25, 15.99};§ 2.6.1 (p. 72)
Exercise 2.39
Compile the following program to see what happens when you forget the semicolon after a class definition. Remember the message for future reference.
struct Foo { /* empty */} // Note: no semicolonint main(){ return 0;}Exercise 2.40
Write your own version of the Sales_data class.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.