1. Engineering
  2. Computer Science
  3. in java...

Question: in java...

Question details

1. Write a program that declares an integer (int) variable named secret and sets it to some constant (literal) value. Then read an integer from the input and print Youre a winner! if the value is equal to the secret.

In java

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution