Hi im new to Java and looking for some guidance.
Im trying to write a program that reads a series of pairs of numbers for a product and the quantity sold for the day. I think i have to have to ask the user 7 times for each product and then add the product up for the week. I have to use a switch statement so ive just started on that part so far, not sure if it is right. So i have 5 products and their prices. Is this the best place to start. Thanks.




products
int price = 0;

switch (products) {

case 1: price = $2
break;

case 2: price = $4
break;

case 3: price = $6
break;

case 4: price = $8
break;

case 5: price = $10
break;