Hello I'm new at using c++ and new at this forum as well, I'm wondering if you could help me with my atm project. Could you please show how to make my program accept pin number but display ***** or any other character, instead of showing numbers when inputting them? thank you very much in advance! More power!
int newpin1, newpin2;
cout <<"Change PIN";
cout <<"Please Enter Your New PIN"<<endl;
cout <<"Please Re-enter Your New PIN"<<endl;
cin >> newpin2;
if (newpin1 == newpin2)
cout <<"Succesful! Your PIN has been changed"<<endl;