+ 2
Hi. Everyone, your help with the resolution for the project 49 of the C# course, in witch say that make a codification array.
2 Respostas
+ 3
Avellaneda
increment count and print matched value when match found.
Then outside the loop check if (count == 0)
if (count == 0)
//print No Match
int count = 0;
for(int i = 0; i < words.Length; i++) {
if(words[i].Contains(letter)) {
count++;
Console.WriteLine(words[i]);
}
}
if(count == 0) {
Console.WriteLine("No match");
}
+ 2
You are amazing, bro. Thansk so much. The code it works. Muchas gracias, si valio.