johnml's Profile User Rating: -----

Reputation: 0 Apprentice
New Members
Active Posts:
9 (0.01 per day)
25-September 12
Profile Views:
Last Active:
User is offline Mar 16 2014 07:27 AM

Previous Fields

Dream Kudos:
Icon   johnml has not set their status

Posts I've Made

  1. In Topic: Two-dimensional array and "for each" issue

    Posted 10 Feb 2014

    Thank you! I just blushed, because of my silliness..
  2. In Topic: Anybody familiar with Android

    Posted 28 Mar 2013

    If you still have this problem, and you are using 64bit kubuntu try to install ia32-libs:
    sudo apt-get install ia32-libs

    then reinstall eclipse with adt plugin (or try to run it before reinstall).
    It helped in my case on ubuntu 12.04.
  3. In Topic: problem with do while loop and if, else if statements

    Posted 29 Nov 2012

    Well, I'm rather beginner than specialist, but I will try to help.

    You check the 'ans' variable, which will not be changed for all time of running the program.
    So you put A, and after doing do-while part still will be A..
    Try to put your menu and scanner for it to do-while loop.
    char ans;
    	  //Your menu
    	  Scanner kb = new Scanner (;
    	  String input = kb.nextLine();
    	  input = input.toUpperCase();
    	  ans = input.charAt(0);
              //All ifs
           }while(ans != 'C');

    I think that's what you need. I don't know only why you writed that for B it was working ok.
    You should better wait for someone more experienced who would say that my solution is ok, or give you another answer.

My Information

Member Title:
New D.I.C Head
Age Unknown
Birthday Unknown

Contact Information



johnml hasn't added any friends yet.


johnml has no profile comments yet. Why not say hello?