Explain Bank Management system in C language Project




in this video Explain Bank Management system in C language - ✅ Download Code

----------------------------------------------------------------------------------

#include<stdio.h> #include<conio.h> int main() { float draw,dep,transfer; char name[24]; float balance=5000; int account,account1,account2; int type; int transaction=1; printf("\n\t\t\t\tBANKING SYSTEM\n\n"); printf("\t\t\4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4\n"); printf("\t\t\4\t\t\t\t\t\t\4\n"); printf("\t\t\4\t\t\t\t\t\t\4\n"); printf("\t\t\4\tWELCOME TO OUR YAQ BANKING SYSTEM\t\4\n"); printf("\t\t\4\t\t\t\t\t\t\4\n"); printf("\t\t\4\t\t\t\t\t\t\4\n"); printf("\t\t\4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4 \4\n\n"); printf("Enter You Name: "); scanf("%s",&name); printf("\nPlease Enter Your Account No.: "); scanf("%d",&type); // mscube tech channel while(transaction == 1) { int option; printf("\nchoose what you want to do\n"); printf("1 - Balance Enquiry\n"); printf("2 - Deposit\n"); printf("3 - Withdraw\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: %.2fRs\n",balance); break; case 2: printf("\n\t\t\t*DEPOSIT AMMOUNT*\n\n"); printf("how much money do you want to deposit:"); scanf("%f",&dep); if(dep > 0 && dep<=20000) { printf("\nyour %.2fRs deposited in your account.\n\n",dep); balance+=dep; } else if(dep>20000) { printf("\nyou can't deposit that much ammount in one time.\n\n"); } else { printf("\ninvalid deposit amount\n"); } break; case 3: printf("\n\t\t*WITHDRAW AMMOUNT*\n\n"); printf("how much money do you want to withdraw:"); scanf("%f",&draw); if(draw<=balance && draw<=20000) { printf("\nyou just withdraw %.2fRs\n\n",draw); balance-=draw; } else if(draw>20000) { printf("\nyou can't withdraw that much amount in one time.\n\n"); } else { printf("\nyou dont have enough money\n\n"); } break; case 4: printf("\t\t\tTRANSFER AMMOUNT \n\n"); printf("\n\t\tAccount You Want To Transfer: "); scanf("%d",&account2); printf("\nhow much ammount?: "); scanf("%f",&transfer); if(balance>=transfer) { printf("\nyour %.2fRs successfully transfered\n\n",transfer); balance-=transfer; } else { printf("\nyou do not have sufficient balance\n\n"); } break; default: printf("invalid transaction\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.\nchoose between 1 and 2 only\n"); } } // mscube tech channel } printf("\n\t\t\t -----------------------"); printf("\n\t\t\t\tYAQ BANK LIMITED\n"); printf("\t\t\t -----------------------\n\n"); printf("\t\t\tDate:3/5/16\t Time:10:20 Am\n"); printf("\n\t\t\t\4 Your name: %s\n\n",name); printf("\t\t\t\4 Your account no: %d\n\n",type); if(dep >= 0 && dep < 20000) { printf("\t\t\t\4 You've deposited %.2fRs\n",dep); } else { printf("\t\t\t\4 You've deposited 0Rs\n"); } if(draw>0 && draw<=20000 && draw<=balance) { printf("\t\t\t\4 You've withdraw %.2fRs\n",draw); } else { printf("\t\t\t\4 You've withdraw 0Rs\n"); }// mscube tech channel if(transfer>0 && transfer<=20000 && transfer<=balance) { printf("\t\t\t\4 You've Transfered %.2fRs\n",transfer); } else { printf("You've Transfered 0Rs\n "); } printf("\n\t\t\t\t Thank you! \n"); printf("\t\t\t Welcome to YAQ Banking System\n"); printf("\t\t\t MsCube Tech\n"); getch(); return(0); // mscube tech channel }

-----------------------------------------------------------------------------------------
► Shopify For Beginners :- https://youtube.com/playlist?list=PLm... ► Google AdSense :- https://www.google.com/adsense/start/ ► Google Cloud Boost Playlist - https://www.youtube.com/playlist?list... ► Google Cloud SQL Playlist:- https://youtube.com/playlist?list=PLm... ► GitHub Playlist - https://youtube.com/playlist?list=PLm... ► Flutter For Beginners :- https://youtube.com/playlist?list=PLm... ► WordPress Free themes For Beginners :- https://youtube.com/playlist?list=PLm... ► HTML & CSS and JAVASCRIPT Projects:- https://youtube.com/playlist?list=PLm... ► C++ For Beginners Playlist :- https://youtube.com/playlist?list=PLm... ► C++ Basic Programs : https://youtube.com/playlist?list=PLm... ► C Language Projects: https://youtube.com/playlist?list=PLm9Gsf8MIeRcOqzwtOdcJtIQjfkJcpXj4 🔁 Facebook: https://www.facebook.com/mscubetechco... 🛑 YouTube : https://www.youtube.com/channel/UC1Gb... #html #css #c++ #c #clanguage #mscubetech #coding #programming #javascript #mscubetech

Post a Comment

0 Comments

Close Menu