User Tools

Site Tools


guess_my_rule

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
guess_my_rule [2022/08/03 13:01] frchrisguess_my_rule [2022/08/11 10:00] frchris
Line 40: Line 40:
 ==== Guess My String Rule ==== ==== Guess My String Rule ====
 This is best using the Eclipse IDE This is best using the Eclipse IDE
-<code>+<code java| GuessMyStringRule.java> 
 +/** 
 + * Make up your own rule 
 + *  
 + * @author Chris Thiel, OFMCap 
 + * 
 + */
 import java.util.Scanner; import java.util.Scanner;
  
Line 49: Line 55:
  public GuessMyStringRule()  public GuessMyStringRule()
  {  {
- secretRule = "The String needed to contain a lower case s";+ // Change the following to make your own rule and hint: 
 + 
 +                secretRule = "The String needed to contain a lower case s";
  hint = "Ben follows the rule, but bend does not";  hint = "Ben follows the rule, but bend does not";
   
guess_my_rule.txt · Last modified: 2022/08/11 10:09 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki