Search:

Type: Posts; User: hiepa

Search: Search took 0.11 seconds.

  1. Thread: Switch

    by hiepa
    Replies
    10
    Views
    1,538

    Re: Switch

    No problem, thx anyways!

    --- Update ---

    Please can you help with this ?


    public static void main(String[] args) {
    Scanner input=new Scanner(System.in);
    Member member1=new...
  2. Thread: Switch

    by hiepa
    Replies
    10
    Views
    1,538

    Re: Switch

    When i copy your code, I get an error in the line of println("1- etc....)
    Well I am running out of time, I have to submit it in 1h so I will just do something... don't get everything is fine and...
  3. Thread: Switch

    by hiepa
    Replies
    10
    Views
    1,538

    Re: Switch

    Tried it but nothing, I don't understand, everything is fine but there is a problem, It should'nt have a relation with the other classes no ?
  4. Thread: Switch

    by hiepa
    Replies
    10
    Views
    1,538

    Re: Switch

    package amazonapplication;
    import java.util.Scanner;
    /**
    *
    * @author
    */
    public class AmazonApplication {
  5. Thread: Switch

    by hiepa
    Replies
    10
    Views
    1,538

    Re: Switch

    No I removed it but it still does not output anything for 1 etc except for 6
    here is the code:


    public static void main(String[] args) {
    Scanner input=new Scanner(System.in);
    ...
  6. Thread: Switch

    by hiepa
    Replies
    10
    Views
    1,538

    Switch

    hello, I have a problem with my code, I wrote a switch condition, and I just wanted to test it for the first case, but when I type 1, there is not output while I put one in my case 1 code. Also when...
Results 1 to 6 of 6