11:38 #include else if (withdraw out-50011 ( pris" BLANCE else ( amount amount withdraw printf("\n PLEASE COLLECT CARS"
Posted: Thu Jun 02, 2022 8:11 am
Search View Project Execute Tools AStyle Window Help 15 88 (globals) final project2022.cpp 1 #include 2 unsigned long amount-1000, deposit, withdraw; int choice, pin, k; 3 4 char transaction = 'y'; 5 void main() void main () 320) printf("enter your secret pin number: "); scanf("%d, Soin"); if(pin 1-1520) printf("please enter valid password\n"); I printf("welcome to our ATM"); printf("1. check balance\n"); printf("2. withdraw cash\n"); printf("3. deposit cash\n"); printf("4. quit\n"); printf("enter your choice: "); scanf("%d, &choice"); switch (choice) case 1: printf("\n your balance in rs: %lu", amount); break; case 2: printf("\n enter amount to withdraw"); scanf("Klu", withdraw); if (withdraw % 100 1-0) { Resources dh Compile Log✔✔ Debug Find Results Close Message [Error]main' must return int [Error] expected declaration before token Masses Debug iler (2) al 23555NHOLD 78 8 98 10 11 12 13 14 15 16 B 17 18 19 20 21 22 23 24 25 25 7 28 29 0 18 35 ) 26 27 30 31 32 33 34 do File CUsers\hp OneDrive\Desktop\final project2022.cpp CUsers hp/ OneDrive Desktop/final project2022 cpp *d TDM-GCC 4.9.2 64-bit Release