Description of this paper

A lottery offers 4 different lottery games play

Description

solution


Question

A lottery offers 4 different lottery games play: 3-numbers, 4-numbers, 5-numbers and 5-numbers + 1 lotteries. Each game has independent numbers. Make an application that randomly picks numbers for all four games and displays the generated numbers in the GUI. Declare a method that generates a random number based on a range given, and returns the random number as a String. The games are played as follows;A) 3 number lotteries require players to choose 3 numbers in the range 0-9.;B) 4 number lotteries require players to choose 4 numbers in the range 0-9.;C) 5 number lotteries require players to choose 5 numbers in the range 1-39.;D) 5 number +1 lotteries require players to choose 5 numbers in the range 1-49 and an additional number in the range 1-42.;and;(Telephone-Number Word Generator);generates words when you dial numbers.;Example: (NNN) NNN-NNNN NUMBERS or(NNN) NNN-NNNN TAKEOUT.;The numbers 2-9 on a phone pad have 3 letters each. Write an application that allows the user to enter a 7 digit number in a TextBox, and displays every possible seven letter word combination corresponding to that number in a multiple line scrollable TextBox when a user clicks the Generate Word button. There are 2781+ such combinations. Avoid phone numbers with 0 and 1.

 

Paper#69508 | Written in 18-Jul-2015

Price : $22
SiteLock