
Patrick B. answered 09/14/20
Math and computer tutor/teacher
class MiniGame
{
public void VictoryMessage()
{
System.out.println("Victory");
System.out.println("Congratulations!");
System.out.println("You may now proceed to the next rank.");
}
public void LevelMessage(int iLevel)
{
System.out.println(" Rank " + iLevel );
}
public static void main(String[] args)
{
MiniGame x = new MiniGame();
x.LevelMessage(1);
x.VictoryMessage();
x.LevelMessage(2);
x.VictoryMessage();
} //main
} //class
Jon J.
Any explanation how you arrive to that program?09/15/20