Banking Principle Software in C Programming(Programmer:Sandesh Acharya)
Banking Principle Software In C-Programming Software Is made For Simple Mechanismon How The bank Is Operated.
For Program You Can Click On Read more button below.............
#include<iostream>
#include<stdio.h>
#include<conio.h>
int main()
{
float draw,dep,transfer;
char name[24];
float balance=5000;
int account1,account,pin;
int b,type;
int transaction=1;
printf("\n\t\t\t\tBANKING SYSTEM\n\n");
printf("\t\t\t\WELCOME TO SANDESH BANK\T\T\t\N");
printf("\t\t\t\t\t\t\t\t\t\n\");
printf("\t\t\t\t\t\t\t\t\t\n\");
printf("\n\t\t\t\tBANKING SYSTEM\n\n");
printf("Enter Your Name: ");
scanf("%s",&name");
printf("\nPlease Enter Your Account noo.: ");
scanf("%d",&type);
whilee(transaction == 1)
{
int option;
printf("\nChose What You Want To do\n");
printf("1 - Balance Enquiry\n");
printf("2 - Deposit\n");
printf("3 - WithDrwa\n");
printf("4 - Transfer\n");
scanf("%d",&option);
switch(option)
{
case 1:
printf("\t\t\t-BALANCE ENQUIRY-\n\n");
printf("Your Current Balance is Rs. %f.00\n",balance);
break;
case 2:
printf("\t\t\t-DEPOSIT AMOUNT-\n\n");
printf("How Much Money do You Want to Deposit: ");
scanf("%f",&dep);
if(dep > 0 && dep<=20000)
{
printf("\nYour %f00Rs Has Been Deopsited In Your Account.\n\n",dep);
balance+=dep;
}
else if(dep>20000)
{
printf("\nYou Can't Deposit That Much Amount In One Time.\n\n");
}
else if(dep < 0)
{
printf("\nYou Can't Deposit Less Than 1 Amount.\n\n");
}
else
{
printf("\nInvalid Deposit Amount\n");
}
break;
case 3:
printf("\n\t\t-WITHDRAW AMOUNT-\n\n");
printf("How Much Amount Do You Want To Withdraw: ");
scanf("%f",&draw);
if(draww<=balance && draw<=20000)
{
printf("\nYou Just Withdraw %f.00Rs\n\n",draw);
balance-=draw;
}
else if(draw>20000)
{
printf("\nYou Can't Withdraw That Much Money In One Time.\n\n");
}
else if(draw<0)
{
printf("\nYou Can't Withdraw Less Than 0 Amount.\n\n");
}
break;
case 4:
printf("\t\t\t-TRANSFER AMOUNT-\n\n");
printf("%d",&account1);
printf("\nHow Much Amount?: ");
scanf("%f",&transfer);
if(balance>=transfer)
{
printf("\nYour %f.00Rs Successfully Transfered\n\n",tranfer);
balnace-=transfer;
}
else
{
printf("\nYou Don't Have Sufficient Balance\n\n");}
break;
default:
printf("INVALID TRANSCATION\n");
}
transaction=0;
while(transaction!=1 && transaction!=2)
{
printf("Do You Want To Do Another Transaction?\n");
printf("1. Yes 2. No\n);
scanf("%d,&transaction);
if(transaction!=1 && transaction!=2)
{
printf("Invalid No.\n Choose Between 1 And 2 Only\n");
}
}
}
printf("\n\t\t\t----------------------------------------");
printf("\n\t\t\t\t SANDESH BANK LIMITED\n");
printf("\n\t\t\t --------------------------------------");
printf("\t\t\tDate: \t Time: \n");
printf("\n\n\t\t\t Your Name : %s\n\n",name);
printf("\t\t\t Your Account no: %d\n\n",type);
if(dep >= 0 && dep < 20000)
{
printf("\t\t\t\t You Have Deposited %f00Rs\n",dep);
}
else
{
printf("\t\t\t\tYou Have Deposited 0Rs\n");
}
if(draw>0 && draw<=20000 && draw<=balance)
{
printf("\t\t\t\tYou Have Withdraw %f00Rs\n",draw);
}
else
{
printf("\t\t\tYou Have Withdraw 0Rs\n");
}
if(transfer>0 && transfer<=20000 && transfer<=balance)
{
printf("\t\t\t\t You Have Transfered %f00RS\n",transfer);
}
else
{
printf("\t\t\t\tYou Have Transfered 0Rs\n");
}
printf("\n\t\t\t\t Thank You! \n);
printf("\t\t\t Welcome To SANDESH BANK Limited\n");
printf("\t\t\t www.sandeshbankltd.com.np\n");
return 0;
}
For Program You Can Click On Read more button below.............
#include<iostream>
#include<stdio.h>
#include<conio.h>
int main()
{
float draw,dep,transfer;
char name[24];
float balance=5000;
int account1,account,pin;
int b,type;
int transaction=1;
printf("\n\t\t\t\tBANKING SYSTEM\n\n");
printf("\t\t\t\WELCOME TO SANDESH BANK\T\T\t\N");
printf("\t\t\t\t\t\t\t\t\t\n\");
printf("\t\t\t\t\t\t\t\t\t\n\");
printf("\n\t\t\t\tBANKING SYSTEM\n\n");
printf("Enter Your Name: ");
scanf("%s",&name");
printf("\nPlease Enter Your Account noo.: ");
scanf("%d",&type);
whilee(transaction == 1)
{
int option;
printf("\nChose What You Want To do\n");
printf("1 - Balance Enquiry\n");
printf("2 - Deposit\n");
printf("3 - WithDrwa\n");
printf("4 - Transfer\n");
scanf("%d",&option);
switch(option)
{
case 1:
printf("\t\t\t-BALANCE ENQUIRY-\n\n");
printf("Your Current Balance is Rs. %f.00\n",balance);
break;
case 2:
printf("\t\t\t-DEPOSIT AMOUNT-\n\n");
printf("How Much Money do You Want to Deposit: ");
scanf("%f",&dep);
if(dep > 0 && dep<=20000)
{
printf("\nYour %f00Rs Has Been Deopsited In Your Account.\n\n",dep);
balance+=dep;
}
else if(dep>20000)
{
printf("\nYou Can't Deposit That Much Amount In One Time.\n\n");
}
else if(dep < 0)
{
printf("\nYou Can't Deposit Less Than 1 Amount.\n\n");
}
else
{
printf("\nInvalid Deposit Amount\n");
}
break;
case 3:
printf("\n\t\t-WITHDRAW AMOUNT-\n\n");
printf("How Much Amount Do You Want To Withdraw: ");
scanf("%f",&draw);
if(draww<=balance && draw<=20000)
{
printf("\nYou Just Withdraw %f.00Rs\n\n",draw);
balance-=draw;
}
else if(draw>20000)
{
printf("\nYou Can't Withdraw That Much Money In One Time.\n\n");
}
else if(draw<0)
{
printf("\nYou Can't Withdraw Less Than 0 Amount.\n\n");
}
break;
case 4:
printf("\t\t\t-TRANSFER AMOUNT-\n\n");
printf("%d",&account1);
printf("\nHow Much Amount?: ");
scanf("%f",&transfer);
if(balance>=transfer)
{
printf("\nYour %f.00Rs Successfully Transfered\n\n",tranfer);
balnace-=transfer;
}
else
{
printf("\nYou Don't Have Sufficient Balance\n\n");}
break;
default:
printf("INVALID TRANSCATION\n");
}
transaction=0;
while(transaction!=1 && transaction!=2)
{
printf("Do You Want To Do Another Transaction?\n");
printf("1. Yes 2. No\n);
scanf("%d,&transaction);
if(transaction!=1 && transaction!=2)
{
printf("Invalid No.\n Choose Between 1 And 2 Only\n");
}
}
}
printf("\n\t\t\t----------------------------------------");
printf("\n\t\t\t\t SANDESH BANK LIMITED\n");
printf("\n\t\t\t --------------------------------------");
printf("\t\t\tDate: \t Time: \n");
printf("\n\n\t\t\t Your Name : %s\n\n",name);
printf("\t\t\t Your Account no: %d\n\n",type);
if(dep >= 0 && dep < 20000)
{
printf("\t\t\t\t You Have Deposited %f00Rs\n",dep);
}
else
{
printf("\t\t\t\tYou Have Deposited 0Rs\n");
}
if(draw>0 && draw<=20000 && draw<=balance)
{
printf("\t\t\t\tYou Have Withdraw %f00Rs\n",draw);
}
else
{
printf("\t\t\tYou Have Withdraw 0Rs\n");
}
if(transfer>0 && transfer<=20000 && transfer<=balance)
{
printf("\t\t\t\t You Have Transfered %f00RS\n",transfer);
}
else
{
printf("\t\t\t\tYou Have Transfered 0Rs\n");
}
printf("\n\t\t\t\t Thank You! \n);
printf("\t\t\t Welcome To SANDESH BANK Limited\n");
printf("\t\t\t www.sandeshbankltd.com.np\n");
return 0;
}
Comments
Post a Comment