Draw a flowchart for a program which asks the user to enter a password. If the user enters “HiThere!” then print “Welcome”, and then end the program.
If they enter a different password, print “Wrong password” and end the program.
Answers
Answered by
4
HOLA IM DORA
MEET TO MEET YOU
Answered by
27
Algorithm:
- Start
- Declare the necessary string variable -> Password.
- Input a value into the 'Password' variable.
- With if condition, check whether the password is "HiThere!" or not.
- If the condition returns True, print "Welcome".
- Else, print "Wrong Password"
- End
Flowchart:
Check the attachment given below.
Learn more:
1. Write an algorithm and draw a flowchart to input name and age of a person and print eligible. If age >=18 else print Not Eligible along with name
https://brainly.in/question/18370913
2. algorithm and flowchart of the program to read n integers ,store them in array and find their sum and average.
https://brainly.in/question/15394177
Attachments:
Similar questions
Accountancy,
3 months ago
Computer Science,
3 months ago
English,
6 months ago
Math,
6 months ago
History,
11 months ago
Chemistry,
11 months ago