Answer:
Explanation:
The solution code is written in C++.
Firstly, create a data structure Money with two int fields, dollar and cents. (Line 4 - 7).
Create a Money type object, sales (Line 11).
Prompt user for input dollar and cents and set the input values to the dollar and cents data fields of sales object (Line 12 - 15).
Print out the dollar and cents from sales object (Line 16).