Search:

Type: Posts; User: nickans

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    1,155

    Re: need help with writing this program

    having it in an infinite loop was within the specification of the assignment.
  2. Replies
    12
    Views
    1,155

    Re: need help with writing this program

    instead of the while(true)..what would u use??
  3. Replies
    12
    Views
    1,155

    Re: need help with writing this program

    i got it.. problem was that i wasn't calling it in main. but a new problem arrived, after i enter the product code and quantity, the menu appears twice.
  4. Replies
    12
    Views
    1,155

    Re: need help with writing this program

    so i've gotten this far, but i cant get a grand total. can anyone help with it??



    package catalog;


    import java.util.*;
    public class Catalog1 {
    private static final String[] products...
  5. Replies
    12
    Views
    1,155

    Re: need help with writing this program

    yes it was, the other thread was solved. i'm confused as to where should i go from here. That's why i posted it here with additional information
  6. Replies
    12
    Views
    1,155

    Re: need help with writing this program

    [QUOTE=nickans;147057]1 Create a java file in NetBeans, name it Catalog.java.
    2 Create one String array to store 3 products for a catalogue
    3 Create the appropriate variables to store the product...
  7. [SOLVED] Re: why is the program not entering the if statement?

    thank you
  8. [SOLVED] why is the program not entering the if statement?

    package catalog;

    import java.util.*;

    public class Catalog {

    static String products[] = new String[3];
    static int answer;

    public static void main(String[] args) {
  9. Replies
    12
    Views
    1,155

    need help with writing this program

    1 Create a java file in NetBeans, name it Catalog.java.
    2 Create one String array to store 3 products for a catalogue
    3 Create the appropriate variables to store the product name, product code and...
Results 1 to 9 of 9