A
1
25
3
B
2
35
3
C
3
Type: Posts; User: w4nz
A
1
25
3
B
2
35
3
C
3
1 - enter new product
please Enter name for product 1: A
Enter quantity for product 1: 2
Please enter price for product : 25
please Enter name for product 2: B
Enter quantity for product 2 : 3...
1 - enter new product
please Enter name for product 1: A
Enter quantity for product 1: 2
Please enter price for product : 25
please Enter name for product 2: B
Enter quantity for product 2 : 3...
1 - enter new product
please Enter name for product 0: A
Enter quantity for product 0 : 2
Please enter price for product : 25
please Enter name for product 0: A
Enter...
u mean the Q?
there is no question from the lecturer to test the program for the output only the Q below that she give it to me
You are to simulate an inventory system. A class product holds id,...
public class Inventory
{
private String name;
private int Inventory_id;
private int Item_price;
private int quantity;
0 is the id of the product..
18801881
import java.util.Random;
import static javax.swing.JOptionPane.*;
public class I11007783
{
public static void main(String arg[]){
Inventory n[]=new Inventory[3];//create an object
...
tomorrow i need to submit it... XD
i tried to do the code keep looping before exit but i failed
can u help me to perfect this code, there is some problem after i key in the product then i want to display it the system stop..
can u help me to change the code without JOP(JOpntionPane)
yes sir!!
for now still no idea
im doing it
this all i got for the Q
You are to simulate an inventory system. A class product holds id, name, price and quantity as its belonging. ID is a fix value by default, say 0, and should increase by one every time there’s a new...