Customer Service Chat
Get quote & make Payment
lotto program, 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/10/2012 8:06:53 AM | Location : Lebanon
Ask an Expert
lotto program, Assignment Help, Ask Question on lotto program, Get Answer, Expert's Help, lotto program Discussions
Write discussion on lotto program
Your posts are moderated
Write your message here..
Differences between Property Get, What are the differences between Property...
What are the differences between Property Get, Set and Let? Set - Value assigned to ActiveX Object from the form. Let - Value retried to ActiveX Object from the form. Get- Assigns
#title., Write a program to print a digital clock which displays the time f...
Write a program to print a digital clock which displays the time for 2 hours . ..
Variable scope prefixes, Variable Scope Prefixes As script size rise, s...
Variable Scope Prefixes As script size rise, so does the value of being capable to rapidly differentiate the scope of variables. A one-letter scope prefix preceding type prefix
Program for computing automobile repair bills, A program is needed to assis...
A program is needed to assist computing automobile repair bills. The cost of labor is $35 per hour. The costs for parts are subject to a 5% sales tax, which should be added t
Programming project using straight-line method, Depreciation to a Salvage V...
Depreciation to a Salvage Value of 0. For tax purposes an item may be depreciated over a period of several years, n. With the straight-line method of depreciation, each year th
External application window position, I have an external application I open...
I have an external application I open from visual studio (excel). I want to reposition where that opens (top, left).. How do I do that?
program that compares interest rates between two banks, 'This program comp...
'This program compares interest rates between two banks and determines the best bank PublicClassForm1 PrivateSub Button1_Click(sender AsSystem.Object, e AsSystem.EventArgs) H
Aim - control statement, Aim: To exhibit what is the day when the seco...
Aim: To exhibit what is the day when the second command button is clicked and to clear the screen when the first command button is clicked. The functioning of this program is
Software that is obscure - basics of gui design, Software That Is Obscure: ...
Software That Is Obscure: The Software hides the intensions, meaning and actions from the user. For illustration, if a user is asked whether a full installation, the custom in
Insertion and deletion in algorithm, translate''Q''for insert into element ...
translate''Q''for insert into element and''Q''delete for deletion element into programming language
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.