Search:

Type: Posts; User: m7abraham

Search: Search took 0.08 seconds.

  1. Replies
    14
    Views
    1,777

    Re: How to make program ask for options again

    Yeah I used netbean's format tool to format it
    and yeah that solved one of my problems
    thanks soo much for all of you
  2. Replies
    14
    Views
    1,777

    Re: How to make program ask for options again

    import java.util.Scanner;
    public class LabAssign3 {

    public static void main (String [] args) {
    int x , y, o, p, pp, cps, pico, co; // x: is there a customer in line?
    // y: are you a...
  3. Replies
    14
    Views
    1,777

    Re: How to make program ask for options again

    how can I make it loop after each specific case
  4. Replies
    14
    Views
    1,777

    Re: How to make program ask for options again

    the problem is the whenever the program finishes one the case the I choose it doesnt loop back to this:


    System.out.println("Please choose an option:\n" +
    " 1) Update Pizza Order\n" + " 2)...
  5. Replies
    14
    Views
    1,777

    Re: How to make program ask for options again

    So I tried the switch statement, any advises?



    import java.util.Scanner;
    public class asgmt1 {

    public static void main (String [] args) {
    int x , y, o, p, pp, cps, pico, co; // x: is...
  6. Replies
    14
    Views
    1,777

    Re: How to make program ask for options again

    http://www.cs.pitt.edu/~ramirez/cs401/assigs/assig1/assig1.htm
  7. Replies
    14
    Views
    1,777

    Re: How to make program ask for options again

    What im trying to do is to let the program prompt this message:


    System.out.println("Please choose an option:\n" +
    " 1) Update Pizza Order\n" + " 2) Update Cherry Pie Order\n" +
    " 3) Update...
  8. Replies
    14
    Views
    1,777

    How to make program ask for options again

    I'm trying to make this program to ask for this:


    System.out.println("Please choose an option:\n" +
    " 1) Update Pizza Order\n" + " 2) Update Cherry Pie Order\n" +
    " 3) Update Charm Order\n" +...
Results 1 to 8 of 9