Actually i'm trying to getting multiple input from user but after i get the full name and address input my code is automatically skipping other two inputs of amount and account number i'm really confused at this any help will be appreciated!
MInfo i;
int number;
cout << "Enter Your Full Name: " << endl;
cin.getline(i.name,50);
cin.ignore();
cout << "Enter Your Address: " << endl;
cin.getline(i.address,100);
cin.ignore();
cout << "Enter Amount You Want to Deposit: " << std::endl;
cin>> i.balance;
cout<<"Please Enter A Unique Account Number Between 10000 and 10099"<<endl;
cin>> number;