Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. [SOLVED] Re: Advice on booleans and yes/no inputs that deliver specific outputs

    Look at how the itsJohn variable is set. It compares a variable's contents against a String constant.
    For your problem, the variable would be what the user entered and the String constant: "yes"
  2. [SOLVED] Re: Advice on booleans and yes/no inputs that deliver specific outputs

    I gave two examples of how to set boolean variables using a boolean expression. Did you understand how those statements work?

    What variable do you want to set?
    With what conditions do you want...
  3. [SOLVED] Re: Advice on booleans and yes/no inputs that deliver specific outputs

    The values of a and b must be set by some assignment statement: (a & b are poor choices for variable names. They have no meaning. Use a name that represents the value they would hold. For...
Results 1 to 3 of 3