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

Grade array

How do I make an array be used as an input, like im asking what letter was your first grade, second, third, up to five and count how many total, and give me how many specific letters are entered

1st Dec 2017, 3:05 AM
Abdiel Mint Pedraza
Abdiel Mint Pedraza - avatar
1 Réponse
0
Arrays are fix-sized (commonly), so I think you need a collection. For example: var input = new List<string>(); input.Add("A"); input.Add("B"); input.Add("C"); var total = input.Count;
1st Dec 2017, 8:27 AM
Василий Сибирев
Василий Сибирев - avatar