ive been reading books tutorials etc... but i just cant get my head around how i would start or even structure the program i am so confused the program i am trying to make is as follows:
write a program that converts an amount of money specified into pennies into the old UK monetary units of pounds, shillings and pence. There are 12 pennies to the shilling, and 20 shillings to the pound. You will also need to make sure that only an integer number of pounds and shillings and pence are printed. So, if the input value is 241 (pennies) then your program should print out:
241 pennies is 1 pound, 0 shillings and 1 penny
or for 42 pennies:
42 pennies is 0 pounds, 3 shillings and 6 pence
so how would i go about understanding and coding a program like this? any help would really be apprecitaed thanks