Answer to Question #203342 in Algorithms for M Kamran

Question #203342

Write the algorithm of a program that reads password from the user and then compare it with the original password stored in file. If the password matches, it should display you got 10 marks else it should print you have failed.


1
Expert's answer
2021-06-05T02:13:57-0400

Input:

PASSWORD // password stored in file

Enter "password" // user enter password

if "password"= PASSWORD then

Output: "You got 10 marks"

else

Output: "You have failed"


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS