I need a code. Please help me its urgent as I am new to coding and can't solve in 1 day :(
Sana Fatima last edited by
Make a command line application that draws the lottery numbers of the week (7 digits and 3 additional numbers between 1-39) and finally prints them in order of magnitude (winning numbers first, then additional numbers). If you wish, you can also add, for example, betting lines for a few different people and define the prize amounts for different results (5 correct, 5 + additional number correct, 6 correct, 6 + additional number correct, 7 correct). The app can also ask you to draw a lottery line for a person. After the lottery, the application will indicate how many numbers and which numbers each lottery time was correct as well as how much the potential winning amount is. You can define the text-based interface itself.
avan last edited by
What programming language are you suppose to program this in? Is there any more information? The instructions above seem somewhat ambiguous.