subject

Write a script that prompts the user for a correct pass code or 0 to exit the program. The script then checks the entered number, if it is zero, it ends the program with a 'Goodbye!' message. If the entered number is not zero, the script compares it with the number 4444 (the correct pass Code). If the number is correct, the script displays a 'Welcome!' message and exits the program, otherwise, it repeats the same message until the user enters either 0 or 4444.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Howard is designing a chair swing ride. the swing ropes are 5 meters long, and in full swing they tilt in an angle of 29° outside chairs to be 2.75 m above the ground in full swing.
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
question
Computers and Technology, 24.06.2019 11:20
William travels a lot on business purpose. he needs to regularly communicate with his business partner. he also needs to send out weekly reports to his boss while he is traveling. which web-based application best suits william’s needs? (social media, webmail, wiki) is the best web-based application for william. he can access this application via the internet using a (digital cable, fax machine, web browser).
Answers: 1
You know the right answer?
Write a script that prompts the user for a correct pass code or 0 to exit the program. The script th...
Questions
question
Mathematics, 18.09.2019 05:20
question
Mathematics, 18.09.2019 05:20
question
Mathematics, 18.09.2019 05:20
Questions on the website: 13722359