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.
-----------------Output---------------
100.0 d
20.0 d
60.0 w
200.0 w
Your account now is -140.00 dollars.
Requirement:
a.) Pseudocode
b.) Source Code
c) Output window