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..
Runtime proggramming, i have a database i want mange it network and i want ...
i have a database i want mange it network and i want write it with vb.net so how i can do this
For next loop - vbscript, You can employ For...Next statements to run a blo...
You can employ For...Next statements to run a block of statements a specific number of times. For loops, employ a counter variable whose value is increased or decreased with each r
Write a program to sort and display an array, Problem 1. Describe the i...
Problem 1. Describe the importance and usage of .net framework in visual Studio 2. Write a program to sort and display an array of integers in ascending order using the conc
Refresh method - data control, The Refresh Method: The refresh method ...
The Refresh Method: The refresh method transfer to the first record in the record set. To invoke the refresh method follow the syntax which is as shown below: Form1.Data1.R
Sub and function procedures in code, In your code A, Function has to always...
In your code A, Function has to always be used on the right side of a variable assignment or in an expression. For illustration: Temp = Celsius(fDegrees) or Msg Box "The C
Investment loan program, I have all my program done except the loan part th...
I have all my program done except the loan part that I am having a lot of troubles with
Update operation coding for hospital management, send correct coding
send correct coding
Create a calculator application, Create a VB calculator application that ap...
Create a VB calculator application that appears as in the screen shots below. The user enters numbers in the textboxes labelled Number 1 and Number 2. When a calculati
The document - document view architecture, The Document: The document ...
The Document: The document contains the user's data. For illustration, after working on a text processor, the user may wish for to save the file. Such an action builds a docum
If then else program, accounting problem
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
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.