dimanche 3 mars 2019

Strlen in if else statement

So i'm doing a school project in c++ where a user inputs a name and if the Name is greater than 20 characters, or less than 1 character the name = Doe. How would I write this. my theory is If else statement, but i've been looking all over the internet and cant figure it out.

Aucun commentaire:

Enregistrer un commentaire