in this project, I use JAVA PROGRAMMING LANGUAGE. I imported a random class that generates a random number and also I take input from the user. if the input value and random number equals.
in this project, I use JAVA PROGRAMMING LANGUAGE. I imported a random class that generates a random number and also I take input from the user. if the input value and random number equals then show a congratulations message or else it executes until the condition is satisfied.
first, we take input from the user .user can enter the same number if the number matches then it shows congratulations you win otherwise it executes the code until the condition is satisfied.
finally, we got the number.
Submitted by GUGULOTH VINAY (6302461709)
Download packets of source code on Coders Packet
Comments