#include<stdio.h>
#include<string.h>
#include<ctype.h>
#include<conio.h>
int find_account(char name[],char a[][],double b[])
{
int i=0,j=0;
for(i;i!=EOF;++i)
{
for(j;j!=EOF;++j)
{
if(strcmp(name[i],a[i][j])==0)
return(doubleb[i]);
} 





void main(void)
{
FILE *input;
int choice,i=0,j=0;
char fullname[10][30];
double account[10],balance[10];
input=fopen("acount.txt","r+w");
while (i!=EOF)
{
fscanf(input,"%s %s",&fullname[i]);
fscanf(input,"%d",&account[i]);
fscanf(input,"%d",&balance[i]);
i++;
printf("1.Find the account number (given the name)\n");
printf("2.Find the monthly balance in Riyals (given the account number)\n");
printf("3.Add a new customer (i.e. a new account)\n");
printf("4.Display sorted lists of account numbers, names or balances (according to user's section)\n");
printf("5.Quit\n");
printf("Choose one of the options by enter the number of your choice\n");
scanf("%d",&choice);
}