I am creating Space invaders and i want it so that when i hit an invader i get 10 points however when i hit a UFO i get 100 points
however i just have
score ++; //this only adds one how can i make it add a certain amount over 1
int scoredAmount = 10; score += scoredAmount;
score += 10;
score = score+10;