Pretty much what Kevin said. When you declare the variable "appleCost" im guessing your code says
int appleCost; try putting
int appleCost = 0;
Type: Posts; User: Henry518
Pretty much what Kevin said. When you declare the variable "appleCost" im guessing your code says
int appleCost; try putting
int appleCost = 0;