Question 6
AQA Computer Science Specimen Paper 1C (8525/1C)GCSE5 marks
On the specification
- 3.2 Programming
Question text
6 Write a VB.Net program that inputs a password and checks if it is correct. Your program should work as follows: • input a password and store it in a suitable variable • if the password entered is equal to secret display the message Welcome • if the password entered is not equal to secret display the message Not welcome. You should use meaningful variable name(s), correct syntax and indentation in your answer. The answer grid below contains vertical lines to help you indent your code accurately. [5 marks]