Customer Service Chat
Get quote & make Payment
lotto, Visual Basic Programming
You are asked to create the LOTO game customized according to the following constraints:
1. Create a grid containing 20 numbers (20 buttons: button1, button2, …button20)
2. When the form is loaded, the buttons are supposed to have a specific Back Color.
3. The player can choose only 6 numbers from the grid.
4. Whenever the number is chosen, its back color should be automatically changed.
(Chosen numbers should have different color from the other buttons)
5. Whenever the user decides to get the result, he should press the “Get Result” button.
6. When the “Get Result” button is pressed, the chosen numbers should be compared to the generated random numbers to display the following:
• Guessed numbers.
• Total of guessed numbers.
You should write a function to generate the 6 different random numbers.
If Total guessed is 1, 2 or 3 then the user wins the third prize.
If Total guessed is 4 or 5 then the user wins the second prize.
If Total guessed is 6 then the user wins the first prize.
Posted Date: 12/9/2012 12:54:06 PM | Location : Lebanon
Ask an Expert
lotto, Assignment Help, Ask Question on lotto, Get Answer, Expert's Help, lotto Discussions
Write discussion on lotto
Your posts are moderated
Write your message here..
If - else statement, A variation on the If...Then...Else statement lets you...
A variation on the If...Then...Else statement lets you to choose from various alternatives. By adding up Else If clauses expands the functionality of the If...Then...Else statement
Document interfaces - visual basic programming, DOCUMENT INTERFACES ...
DOCUMENT INTERFACES A SDI (Single document interface) and the MDI (Multiple document interfaces) are the document interfaces. The MDI based applications can have numerous ch
Variant type - visual basic, Variant Type: If no data type is related ...
Variant Type: If no data type is related with the VB variables, it takes the default variant type. The variable x will be of the variant type when the two declarations below a
Wage calculator and ta calculations, ( Wage Calculator with Tax Calculation...
( Wage Calculator with Tax Calculations) Develop an application that calculates an employee’s earnings, as shown in Fig. 4.23. The user should provide the hourly wage and number of
Deleting handlers with class wizard, Deleting Handlers With Class Wizard: ...
Deleting Handlers With Class Wizard: The handler can be deleted by using the class wizard. The class wizard will delete the prototype and message map entry. The user should ma
Kitchen mock, How to pull ordered menu from a cash till to database or disp...
How to pull ordered menu from a cash till to database or display on a computer screen
Introduction to gui design and file handling, INTRODUCTION TO GUI DESIGN AN...
INTRODUCTION TO GUI DESIGN AND FILE HANDLING The aim of the user interface design is to attain the user's goals. When the user's goals are met, the user is satisfied and the
Storage and retrieval systems, STORAGE AND RETRIEVAL SYSTEMS The sto...
STORAGE AND RETRIEVAL SYSTEMS The storage system is a depository. It is a physical container and gives mechanisms to put in the depository and take them back. The retrieval
Variable naming conventions, For reason of readability & consistency, emplo...
For reason of readability & consistency, employ the following prefixes along with descriptive names for variables in your VBScript code. S ub type Prefi
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.