Operators exercise — declare variables of different types, print them, and calculate a total
This project has two small programs. VariableApp: pick different types of information about yourself and print each one. Receipt: calculate the total cost of buying multiple of the same item.
Your values will be different — pick your own color, year, initial, and so on.
Your item, quantity, and price will differ — the total should equal price × quantity.
Workbook 1c · p.69-70