Search:

Type: Posts; User: JavaN00b101

Search: Search took 0.28 seconds.

  1. Replies
    17
    Views
    1,142

    Re: whats with the scanner?????

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

    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
    1,142

    Re: whats with the scanner?????

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

    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
    1,142

    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
    1,142

    Re: whats with the scanner?????

    thanks so much
  7. Replies
    17
    Views
    1,142

    Re: whats with the scanner?????

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

    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
    1
    Views
    491

    user input mismatch problem

    hey all,

    i have a program which asks the user to input the shape they want to know the area and perimeter of.
    i have all the code done but i don't know how to define the variable so that it can...
  10. Replies
    17
    Views
    1,142

    Re: whats with the scanner?????

    thank. do you know what i need to change so that i can input "square"?
  11. Replies
    17
    Views
    1,142

    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....
  12. Replies
    5
    Views
    599

    Re: numbered months

    do u know how i could use the number of the current month i get to subtract it from one the user inputs? i tried some things but i cant figure it out
  13. Replies
    5
    Views
    599

    Re: numbered months

    thanks for that
  14. Replies
    5
    Views
    599

    numbered months

    hey all,

    does anyone know if there is some code which gets the current month in number form?
    not its name

    thanks
  15. Re: How do you define things from specific keyboard inputs?

    Thanks for this, i really appreciate it.
    I understood most of it, but as i keep learning i will get the rest.

    Thanks, JavaN00b101
  16. How do you define things from specific keyboard inputs?

    Hi all,

    i was wondering if anyone could help me with a problem that i had.


    System.out.println("Firstly, please input the current date in yyyy/mm/dd.");
    CurrentYear = myScanner.nextDouble()
    ...
  17. Replies
    1
    Views
    243

    Hello Everyone!!

    Hi all,

    i just started using java and jcreator etc. and i am basically a noob, so all help will be greatly appreciated. :D
    I am delighted to join Java Programming Forums.

    JavaN00b101
Results 1 to 17 of 17