diff --git a/bank-system.c b/bank-system.c new file mode 100644 index 0000000..940a521 --- /dev/null +++ b/bank-system.c @@ -0,0 +1,578 @@ +#include +#include +#include +int i,j; +int main_exit; +void menu(); +struct date{ + int month,day,year; + + }; +struct { + + char name[60]; + int acc_no,age; + char address[60]; + char citizenship[15]; + double phone; + char acc_type[10]; + float amt; + struct date dob; + struct date deposit; + struct date withdraw; + + }add,upd,check,rem,transaction; + +float interest(float t,float amount,int rate) +{ + float SI; + SI=(rate*t*amount)/100.0; + return (SI); + +} +void fordelay(int j) +{ int i,k; + for(i=0;i