Suggest an efficient representation for your abstract type


Problem

(a) Design a Money abstract type, whose values are amounts of money expressed in your own currency. Equip your abstract type with operations such as addition and subtraction of amounts of money, and multiplication by a given integer.

(b) Suggest an efficient representation for your abstract type. Use any suitable programming language.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Suggest an efficient representation for your abstract type
Reference No:- TGS02654821

Expected delivery within 24 Hours