Search:

Type: Posts; User: Tamilarasi

Search: Search took 0.08 seconds.

  1. Replies
    25
    Views
    2,486

    Re: I want to make a sample program!

    when you press a "n" the loop terminate.

    I think you need this with sentinel value...

    [code]

    static boolean condition = true;//declare sentinel value
    do {

    System.out.println("Add more?...
  2. Replies
    25
    Views
    2,486

    Re: I want to make a sample program!

    Hi hirohashimoto,

    I think you want you will get the student detail when you select the option "n"..

    Try this:



    code removed
  3. Replies
    25
    Views
    2,486

    Re: want to know whats wrong with my code. i want it to go back to the start enter name student but it wont work.

    Hi,
    I don,t know what you want exactly but i solve your problem on do while loop. The problem is you are used stdin.next() but you don't declare the scanner. So it displays issue and also you don't...
Results 1 to 3 of 3