Task 3: Write a C program to input your balance, transaction code and amount to withdraw/deposit. The output message according to given condition below: using switch statement. - Refer to Example 4 on...


Task 3: Write a C program to input your balance, transaction code and amount to<br>withdraw/deposit. The output message according to given condition below: using switch<br>statement. - Refer to Example 4 on page 5 (3 marks)<br>Transaction code<br>message<br>w<br>Your withdrawal.<br>Your deposit...<br>Wrong input<br>d<br>Any other value<br>Output view:<br>Enter your balance:<br>4000<br>Enter your transaction code, d<br>d<br>Enter your amount to withdraw/deposit:<br>3000<br>Your deposit...<br>Your new balance is 7000.000000:<br>deposit, w -withdrawal:<br>. . Program finished with exit code 0<br>Press ENTER to exit console.<br>

Extracted text: Task 3: Write a C program to input your balance, transaction code and amount to withdraw/deposit. The output message according to given condition below: using switch statement. - Refer to Example 4 on page 5 (3 marks) Transaction code message w Your withdrawal. Your deposit... Wrong input d Any other value Output view: Enter your balance: 4000 Enter your transaction code, d d Enter your amount to withdraw/deposit: 3000 Your deposit... Your new balance is 7000.000000: deposit, w -withdrawal: . . Program finished with exit code 0 Press ENTER to exit console.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here