Programming Sample Assignment Part 5
Programming Assignment Help
An executable programme (Guess_assignment.EXE) with the Graphical User Interface (GUI) shown below is included in the ZIP package which you downloaded to get this document.
run the program Guess_assignment.EXE, it works and then develop that program using Visual Basic.net according to the following specifications.
Specifications
- The user enters the numbers they guess in the three boxes in the top panel
- When the user clicks the button Check Numbers, the three text boxes in the Lucky Numbers group box will generate random numbers
- The labels under each of the three boxes in the top panel will show the following messages dependent upon whether the number is an exact match or is the correct number in the wrong position:
- Exact match: Match!
- Right number but wrong position: Almost
- Wrong number: Try Again!
- For each exact match, the user will be awarded 5 points
- For each correct number in the wrong position, the user will be awarded 1 point
- The label below the Lucky Numbers groupbox will display the messages dependent on the overall score:
Score | Comment |
15 | Congratulations! You got 3 exact matches |
>=10 | Congratulations! You got 2 exact matches |
>=5 | Congratulations! You got 1 exact match |
>=1 | Hard Luck! Better luck next time |
0 | Try Again! |
When the 'New Guess' button is pressed, the program should do the following:
- Clear the numbers entered by the user
- Clear the text properties of the labels which display Match or Almost or Try Again
- Clear the text properties of the label which displays the final comment
- Generate a new set numbers for the Lucky Numbers
You are expected to document your program. The documentation should include header comments and description of each event procedure and if statements.
The button 'EXIT' should end the program running.
Follow VB Code Conventions |
|
Coding |
|
Operation (Program achieves its purpose and conforms to spec) |
|
Programming Assignment Help | Programming Homework Help | Tutorial Programming | dos Assignment Help | Sample Homework | Development Help | C# Programming Help | Python Assignment Help | Cobol Assignment Help | Fortran Assignment Help | C++ Assignment Help | Java Assignment Help | Visual Basic Assignment Help | JavaScript Assignment Help | Visual Basic (VB) Programming Help | Java Applet Assignment Help | Advance Programming Assignment Help | Programming Homework Online | Computer Programming Help | Online Tutoring