import java.util.Scanner;
import java.util.Random;
public class TheBrainGame2
{
static String Rating;
static int count;
static int Random;
static int Guess;
public static void main(String[] args)
{
Guess = count;
if (count <= 10)
{
Rating = Rating(count);
}
}
public static int NumberGenerator(int Random)
{
Random RandomNumber = new Random(12);
count = 0;
for(int x = 0; x < 100; x++)
{
int Number = 1 + RandomNumber.nextInt(100);
System.out.print(Number + " ");
count++;
if(count > 15)
{
System.out.println(" ");
count = 0;
}
}
return Random;
}
public static String Rating(int count)
{
{
if(count > 10)
Rating = "Fail! You are a Cyber Dud!";
if(count == 10)
Rating = "Circuit Breaker";
if(count <= 9)
Rating = "Techno Geek";
if(count <= 7)
Rating = "Super Chip";
if(count <= 5)
Rating = "Cyber Brain";
if(count <= 3)
Rating = "Micro Genius";
if(count == 1)
Rating = "Genius";
}
return Rating;
}
public static void Answer(int Answer)
{
Scanner input = new Scanner(System.in);
int x;
System.out.println("Enter your answer please");
x = in.nextInt();
}
public static String Guess(int Guess)
{
while(Guess != Random && count >= 10)
System.out.println("Enter Guess #");
if(Guess < Random)
System.out.println("Wrong! you are too low!");
if(Guess > Random)
System.out.println("Wrong! you are too high!");
if(Guess == Random)
System.out.println("Correct! you are a ...");
count = count + 1;
return Rating;
}
}