Why isn't my code working right?
If i enter an address with 10 or more letters it then dosnt let me input the phone number #include <iostream> #include <string> using namespace std; int Confirm(); struct Info { string name; string Address; string PhoneNum; }; int main() { Info person; cout<<"Please enter your name: "; cin>>person.name; cout<<"Please enter your address: "; cin>>person.Address; cout<<"Please enter your Phone Number: "; cin>>person.PhoneNum; cout<<"Information saved"<<endl; cout<<"\nPlease confirm your information"<<endl; cout<<"Your name is "<<person.name; cout<<"Your address is "<<person.Address; cout<<"Your Phone Number is "<<person.PhoneNum; }