if (intNum == 1) { itemCost = 5.99; }
if (itemQuantity != -1){ // calculate sales amount based upon the entered item number // add to totalSales}