Question: write two functions for c++, the first one where it takes username and password from the user and checks it in the input file using

write two functions for c++, the first one where it takes username and password from the user and checks it in the input file using file handling. It should check whether the username and password are incorrect it should say incorrect and display again. IF the username and password are correct then it should continue. The second one, it should check it should be a "Prove you are not a robot" and it should give two random digits and ask the user to add them if the user puts correct answer it should continue otherwise it should ask the user to do it again.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!