Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

ineed a c program for bank debet cerdet blance info???

0 votes
asked Jul 6, 2018 by Raju Prudhvi (160 points)

1 Answer

0 votes
answered Jul 6, 2018 by Akhila Mekapothula (460 points)
#include<stdio.h>

main()

{

float  balance,minbalance;

char name[20];

int card no;

printf("enter ur name\n");

scanf("%s",name);

printf("enter ur cardno\n");

scanf("%d",&n);

printf("enter ur balance\n");

scanf("%f",&balance\n");

printf("enter minimum balace in account\n");

scanf("%f",&minbalance);

if(balance==0)

{

printf("ur balance is zero\n")

}

else if(balance>minbalance)

{

printf("balance is sufficient\n");

}

else

{

printf("ur balance is insufficient balance\n");

}

printf("name=%s \n  pin =%d \n  balance =%f\n",name,pin,balance);

}
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...