1. Locate and open the project from activity 3.3
2. Add the If...Else...Then statement (for the validation) to the code as per the following (code to be added is highlighted with red shading):
3. Run the project and enter the numbers into the textbox. The program should execute as it did in activity 3.3
4. Run the project again and test the If statement by the entering text instead of numbers into one or more of the textboxes.
This is what happened:
5. Change the message the user recieves in the message box to “Please enter numbers only! I am not magic!”
6. Publish a screen shot of the new message box message to your assessment document.
My screen shot:
I thought i would also publish a screen shot of my code:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment