You shouldn't use labels in objective language.
You need to rewrite the for/while condition.
So your code should look like:
int points = 0;
int goal = 100;
while (goal <= 100 && points <= 50) {
for (int i = 0; i < goal && points <= 50; i++) {
points += i;
}
}
// Now 'points' is 55