Create a class named Information and declare two variables ‘User_name’ and ‘password’. Then take input from
user
? Enter User Name:
? Enter Password:
If user enter user_name=”Your Name” and password=”Your Arid No”, then show your info on screen.
Otherwise, program continues demand user name and password until the correct information are not given.
#Sales Offer!| Get upto 25% Off: