Question: 1. Write a program that allows the user to print one of 4 possible faces. Each face should be printed in a separate function. The
1. Write a program that allows the user to print one of 4 possible faces. Each face should be printed in a separate function. The options for faces are: 2. Write a program that simulates 2 bank transactions. The user will enter the original amount in the bank, the money for transaction 1 and the money for transaction 2. If a transaction has a negative number it means that money was removed from bank (an withdrawal). If a transaction has a positive number it means that money was deposited in the bank. Hint: if you add a negative number you are effectively subtracting. E.g. 100 + (-10) = 90 (so if you just add the transaction, it will do the correct computation for both positive deposit and negative removal transactions) Print the data as a table. Use printf and reserve a minimum number of spaces to ensure the table stays aligned. Use 11 reserved spaces for the transaction and 9 for the account. Have one space around them
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
