mercredi 25 septembre 2019

how can i fix java else without if error?

enter image description here

The code posted in the image has an else if error and I don't know what it is and how to fix it. Please let me finish this task!

The task is to add all the numbers 1-100 excluding multiples of 2 and 5.

(Sorry if my expression isn't correct. I am not a native speaker.)

Thank you!

Aucun commentaire:

Enregistrer un commentaire