dimanche 13 décembre 2020

simple if/else statement does not seem to be working, can anybody tell me what I am doing wrong?

I am trying to get a simple if/else statement working. if the number given is bigger than 5 it should print statement A, if not it should print statement B. It keeps printing statement A no matter what.

What am I doing wrong? Thanks for your help.

snippet of code

Aucun commentaire:

Enregistrer un commentaire