+ 2

Hi. Everyone, your help with the resolution for the project 49 of the C# course, in witch say that make a codification array.

https://code.sololearn.com/cYFZLg3Ozcwc/?ref=app

24th Jun 2022, 5:47 AM
Avellaneda
Avellaneda - avatar
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"); }
24th Jun 2022, 6:12 AM
A͢J
A͢J - avatar
+ 2
You are amazing, bro. Thansk so much. The code it works. Muchas gracias, si valio.
25th Jun 2022, 6:21 AM
Avellaneda
Avellaneda - avatar
Quente hoje
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes