help with bool class method?!

Hello, everyone!

I am creating a C++ program that simulates an ATM program.
I want to create a method that will check and see if the PIN# entered is correct or not.
If not, I would like the program to end.

The instructions for the assignment say "A method to prompt the user to enter a PIN# and verify that it is the correct one, returning TRUE or FALSE."

I believe this means I have to use a bool type.

Please help? I have no idea how to do this.
Topic archived. No new replies allowed.