Skip to content

Instantly share code, notes, and snippets.

import java.util.Scanner;
import java.util.Random;
class game {
public int number;
public int input_num;
public int No_ofguess = 0;
game() {
Random rc = new Random();
number = rc.nextInt(100);