#include main() { int cashtotal, halfcash, acquired, triple, added6; printf("How much money do you have in your bank: "); scanf("%d", &cashtotal); halfcash = cashtotal / 2; acquired = cashtotal - 10; triple = cashtotal * 3; added6 = cashtotal + 6; printf("Half of the cash you have stored in the bank is valued at %d dollars\n", halfcash); printf("\n"); printf("You have acquired %d dollars since you had deposited 10 dollars\n", acquired); printf("\n"); printf("Your money has been multiplied by 3 to a total sum of %d dollars\n", triple); printf("\n"); printf("You will have %d dollars after you have added an additional 6 dollars to your account\n", added6); printf("\n"); printf("Congratulations, I have completed this assignment!"); fflush(stdin); getchar(); }