Question: Create a deno program that will be a game (almost like a lottery). The program will choose 6 numbers at random, the numbers should

 Create a deno program that will be a game (almost like a lottery). The program will choose 6 numbers at 

Create a deno program that will be a game (almost like a lottery). The program will choose 6 numbers at random, the numbers should be between a pre-defined minimum and maximum. Next for each of the 6 numbers give the user 4 chances to guess each number. Once the user guesses the number correctly then move on to the next number. Depending on the guess attempt they get more points, 50 points if they get it right on the first guess, 25 on the second, 10 on the third, and 5 on the fourth. The goal is to tally the total final score. Example Input for 1 Number: 4 2 10 5 Example output: Final Score: 65

Step by Step Solution

3.37 Rating (144 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The image contains a description of how to create a demo program for a numberguessing game In this game the program will randomly select six numbers b... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!