having it in an infinite loop was within the specification of the assignment.
Type: Posts; User: nickans
having it in an infinite loop was within the specification of the assignment.
instead of the while(true)..what would u use??
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.
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...
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
[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...
thank you
package catalog;
import java.util.*;
public class Catalog {
static String products[] = new String[3];
static int answer;
public static void main(String[] args) {
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...