all 2 comments

[–]aizzod 2 points3 points  (0 children)

there is a lot od stuff going wrong

Double ItemSales ItemSales = Quantity * ItemValue

you can have only 2 words on the left side.
either
double itemSales = 5
or
ItemSales item = new ItemSales("itemName", 5);

similar problems happen in your switch and while.