Search:

Type: Posts; User: JavaN00b101

Search: Search took 0.14 seconds.

  1. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    thanks all for the help :)
  2. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    is it ok if i initialized it by writing:

    String square = ("");

    im a noob so i dont really know how
  3. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    i didn't try to change it, i originally had it. thanks for the help
  4. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    i declared shape as a String, got rid of unnecessary code, and change the Scanner method. but there is still an error. the code now looks like this:

    import static java.lang.System.out;
    import...
  5. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    i got rid of unnecessary variables and declared shape as a string and changed the scanner method. the code now looks like this:


    import static java.lang.System.out;
    import java.util.Scanner;...
  6. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    thanks so much
  7. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    i wanna change it but i dont know wat i need to change
  8. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    i mean what do i need to change in my code so that when i input a shape, i won't get a user input mismatch error
  9. Replies
    17
    Views
    2,357

    Re: whats with the scanner?????

    thank. do you know what i need to change so that i can input "square"?
  10. Replies
    17
    Views
    2,357

    whats with the scanner?????

    hey all,

    i was writing a program which allows users to input either a square, circle or rectangle, and depending on the input, the program would go on to get the area and perimeter of that shape....
Results 1 to 10 of 10