lundi 1 octobre 2018

How to use a string in an if statement? [duplicate]

This question already has an answer here:

I need to make it so that less than 3 characters results in an error message, and 3 or more prints the statement. So for the beginning of the if statement I put if(refNumber > " ") and so on, however, the string comes up as an error.

Aucun commentaire:

Enregistrer un commentaire