Search:

Type: Posts; User: sstaurus12

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    1,659

    Re: Guessing game syntax help needed

    No it does make sense, thank you for your help!
  2. Replies
    4
    Views
    1,659

    Re: Guessing game syntax help needed

    I have correcting the colorGuess variable. Where my real challenge lies now is that each time the program runs, my random object is only generating 1 number then giving the user 10 guesses to get it...
  3. Replies
    4
    Views
    1,659

    Guessing game syntax help needed

    Hi Everyone,

    I am new to java and the assignments are are fairly simple for someone more experienced. I am currently having trouble with accumulating my variables for tallying the number of...
  4. Replies
    17
    Views
    1,962

    Re: Problem with my simple pw verifier

    nvm im sorry...I see it now

    just figuring out how to get the loop to stop, it doesn't move on to the method Im using to print the passwords and whether they were valid or not. I just have to keep...
  5. Replies
    17
    Views
    1,962

    Re: Problem with my simple pw verifier

    import java.util.Scanner;
    import java.io.*;

    public class PasswordChecker {

    private String password = " ";
    private String testPlanAuthor = " ";
    private...
  6. Replies
    17
    Views
    1,962

    Re: Problem with my simple pw verifier

    I dont want it to just add the previous pw im still just struggling with getting it to print out a new blank space in the scanner for the next password inside the for loop.

    this portion below

    ...
  7. Replies
    17
    Views
    1,962

    Re: Problem with my simple pw verifier

    no I just did password = keyboard.nextLine(); and it still concatenates
  8. Replies
    17
    Views
    1,962

    Re: Problem with my simple pw verifier

    Still fighting with it.
    Im not sure I know where to use the nextLine() method to clear the buffer. Right after the nextInt? I fixed the strings with "" Im not sure I understand what I need to add...
  9. Replies
    17
    Views
    1,962

    Re: Problem with my simple pw verifier

    I did not post all of the code, i thought the problem might exist within that first half of the program since that was where I declared and initialized my variables.

    --- Update ---



    import...
  10. Replies
    17
    Views
    1,962

    Re: Problem with my simple pw verifier

    import java.util.Scanner;
    import java.io.*;

    public class PasswordChecker {

    private String password;
    private String testPlanAuthor;
    private String...
  11. Replies
    17
    Views
    1,962

    Re: Problem with my simple pw verifier

    Please follow along with the program to verify your passwords.
    I am using a Scanner for the program.

    Please enter your name: nulls ("null" appears for some reason)
    Please enther the number of...
  12. Replies
    17
    Views
    1,962

    Problem with my simple pw verifier

    Hello,

    I am working on a password verifier that checks the characters to meet a certain criteria. The user enters in the number of passwords they need to check and then prompts them to enter each...
  13. Re: Beginner Problem: Choosing highest value from 3 inputs

    I think the && operator is exactly what I was looking for, Thank you so much! The program is now compiling and running correctly!
  14. Re: Beginner Problem: Choosing highest value from 3 inputs

    The output chooses 50 as the highest score.

    I tried changing the order between all 3 and seems to have no pattern for choosing one of the values. It seems to choose the highest input between the...
  15. Beginner Problem: Choosing highest value from 3 inputs

    Hello anyone,

    I am currently in need of some help with the code for one of my methods.
    I have 3 inputs for 3 separate quiz scores. My method must choose the highest from these 3 no matter what...
Results 1 to 15 of 15