Hi,
Please help me on how can I

1.) stop the loop and print "goodbye" after 3 incorrect pin.
2.) from a class file it will call a variable in a main class file


Thank you.