Hi guys.
Welcome back.
Indistinct audio.
We're going to do a small project using a C program in which we are going to write a team similar to
using C program.
OK.
So let's get started.
So before that we just said let's take an example like I mean like everybody in dreams well it would
really have a debit or credit card in your hand.
So.
So when you go to an item.
So what happens is like the first thing it prompts is for the bin.
Right.
So whenever you're inside your card in the eight year mission it prompts for the pin.
OK.
So we will put the same logic in the program.
The second thing is if bin is correct then it will prompt multiple options.
So assume that we are here in this program we will print for four options.
One is that the first thing is the balance and carry.
The second option will be the cash withdrawal and the third option with the deposit cash.
Fourth will be exit.
Okay.
So these are the very basic options which are available in almost all the items across the world.
So I assume that if the customer selected the option card balancing card.
So what happens is like we need to display the cash balance.
OK.
So this is one thing.
Second thing is like engaging the customer keeping second option which is cash rate and then the next
quarter and the next question which we need to ask is for that I want how much I want you want to withdraw
from these are available balance.
OK.
So this project will put in a C program.
So the third thing is then when we need when you when we go to amount of which we need to debit transaction.
So the second thing which we need to do in the code language is we need to see see where that money
is available in in his account.
Then we will debit that particular amount and we will dispense that cash.
Okay.
So.
So that's what engineer.
Debit don't want and show the available balance.
Sure Monday will be debated for example out of thousand dollars.
But his employees are available at this thousand dollars and these he keyed in as far handed out as
you want to withdraw which are defined the dollars will be debited that is find a dollar to be shown
as the available vanishing is gone.
OK.
So it is Roger will put in now one program.
So the third option in case if the customer gating the option called deposit cash.
So the next option which when you watch him won't he want to deposit that we need to prompt then what
do we have to raise the amount.
He getting for example his available balance sheets thousand and if we want to deposit for example or
another find a dollar.
So thousand plus find that means available in B thousand.
The deposit down on two will be four hundred ten thousand five hundred will be displayed as an available
balance in his account.
OK.
Display the total value for this ligament in his sneakiness vote.
Then he should come out of the program.
So.
So this is the core logic of our program which we are going to double it.
OK.
So again I'm repeating whenever you inside the card you should ask for it will it respond to the pincers
that seem logical implement yet festival pumped up pump for the pin with the penis correct.
Then these four options will be displayed to the customer.
Then if the customer selected the first option which is balance and Curry then the available limit should
be shown to the customer.
The second option if he's elected.
Then you do.
Then we have the problem for the one which we want to withdraw it then.
Then there should be a check whether this particular commodities are available in his account.
If it is there then they would amount to ensure that available balance.
Then the third option is if you want to the customer wanted awash in the cash then from for the amount
how much you want to pay for how much you want to deposit then it should add up on top of the available
balance in that order value should be displayed to the customer.
Fourth option it means then it should come out of the program.
Okay.
So let's get started with the program.