Characters | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Characters

Can I compare multiple characters at once ?? For a program to generate random sentences I want “An” to come before words beginning with vowels and the same with “A” but with consonants.

3rd Oct 2018, 11:16 PM
Alexis C. Student
Alexis C. Student - avatar
1 Réponse
+ 1
You want to compare String or String [] all you have to do is run the first character of the string. ChatAt(0)
4th Oct 2018, 4:16 AM
Daniel (kabura)
Daniel (kabura) - avatar