haritbshah/Mercy
Public repository.
Discovered public repositories for haritbshah in the GitHub catalog.
Public repository.
Public repository.
Assume that type Money, a structured type with two int fields, dollars and cents, has been declared . Write the definition of a function named normalize that receives a Moneyargument and returns a Moneyvalue . What it returns is the "normalized" equivalent of the argument , that is, a value that is equivalent but where cents is a number between 0 and 99 inclusive. So if a Moneyvalue of 5 dollars and 325 cents was passed, a Moneyvalue of 8 dollars and 25 cents would be returned.