User Tools

Site Tools


cs_176:magic_eight_ball_answers_in_string_array

Magic 8-Ball Answers as String Array


      answers = new String[20]; // answers will contain 20 Strings
      answers[0] = "It is certain";
      answers[1] = "It is decidedly so";
      answers[2] = "Without a doubt";
      answers[3] = "Yes definitely";
      answers[4] = "You may rely on it";
      answers[5] = "As I see it yes";
      answers[6] = "Most likely";
      answers[7] = "Outlook good";
      answers[8] = "Yes";
      answers[9] = "Signs point to yes";
      answers[10] = "Reply hazy try again";
      answers[11] = "Ask again later";
      answers[12] = "Better not tell you now";
      answers[13] = "Cannot predict now";
      answers[14] = "Concentrate and ask again";
      answers[15] = "Don't count on it";
      answers[16] = "My reply is no";
      answers[17] = "My sources say no";
      answers[18] = "Outlook not so good";
      answers[19] = "Very doubtful";

cs_176/magic_eight_ball_answers_in_string_array.txt · Last modified: 2014/05/29 18:47 by jchung

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki