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..
Constant naming conventions, Earlier versions of VBScript had no mechanism ...
Earlier versions of VBScript had no mechanism for making user-defined constants. Constants, if utilized, were implemented as variables & distinguished from other variables by using
Loop statement from inside the loop, You can exit a Do...Loop using the Exi...
You can exit a Do...Loop using the Exit Do statement. Since usually you desire to exit only in certain situations, such as to ignore an endless loop, you should employ the Exit Do
Tooltip - intrinsic control, ToolTip: The ToolTip property is used to ...
ToolTip: The ToolTip property is used to flash a message regarding a control object when the mouse pointer moves over that object for a couple of seconds. Pick a control and c
Vbscript error object clear method, Methods: VBScript Err Object ...
Methods: VBScript Err Object Clear Method Clears every property settings. Raise Method Generate a run-time error.
Naming restrictions, For naming anything variable names follow the standard...
For naming anything variable names follow the standard rules in VBScript. A variable name: Should begin with an alphabetic character. Cannot have an embedded period. Sh
Web Scraping via program, I''m trying to create a program in VB.net that wi...
I''m trying to create a program in VB.net that will basically load the page within itself and allow you to input data via the program rather than going to the actual site using you
Introduction to visual c++ programming, INTRODUCTION to VISUAL C++ PROGRAMM...
INTRODUCTION to VISUAL C++ PROGRAMMING This section introduces you to develop the applications using VC++. The Single document interface (SDI), multiple document interface (MDI
XML with database, write a XML with database with book details( book id, au...
write a XML with database with book details( book id, author ,subject, published year, vendor,price, language )
Vbscript variables, A variable is convenient placeholder which refers to a ...
A variable is convenient placeholder which refers to a computer memory location where you can store program information which may change when your script is running. For instance,
Patients information system, entity relationship diagram
entity relationship diagram
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
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.