#include <stdio.h>
int main (){
    int a=1000,b,c,d;
    float balance,withdraw,deposit;
    printf("press 1.check balance\npress 2.withdraw amount\n press 3.Deposite amount");
    scanf("%d",&c);
    switch(c){
    case 1:
    printf("The current bank balance is: %d",a);
     break;
    case 2:
    printf("Enter the amount to withdraw :");
    scanf("%d",&b);
    if (b<=a)
    d=a-b;
    printf("Transection  is Sucessfully Done!!!!");
    else {
        printf("Enter the valide input");
    }break;
    case 3:
    printf("Enter the amount to Deposite :");
    d=a+b;
    printf("sucessfully done")
    break
    }
    
}