Can you please help me with this?
1. Write a program that will read a float and a character for each scanf(). The character could be d for deposit or w for withdrawal. Starting with a balance of zero, add the deposits and subtract the withdrawals until the balance becomes negative. Then print by how much the balance went negative.
The sample input and output are given below.
Your account now is -140.00 dollars.
b.) Source Code
c) Output window
You are not asking for help, you're asking us to do your work for you. Read our homework policy. We answer specific questions only.