WORD PLS HELP c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

WORD PLS HELP c#

Words The program you are given defines an array with 10 words and takes a letter as input. Write a program to iterate through the array and output words containing the taken letter. If there is no such word, the program should output "No match". Sample Input u Sample Output fun

10th Mar 2021, 1:35 PM
Bonn Cabello
Bonn Cabello - avatar
4 Answers
10th Mar 2021, 2:22 PM
Soumik
Soumik - avatar
+ 1
using System; using System.Collections.Generic; namespace Code_Coach_Challenge { class Program { static void Main(string[] args) { string[] words = { "home", "programming", "victory", "C#", "football", "sport", "book", "learn", "dream", "fun" }; string letter = Console.ReadLine(); int count = 0; //your code goes here } } }
10th Mar 2021, 2:14 PM
Bonn Cabello
Bonn Cabello - avatar
+ 1
Wow thanks man!!
10th Mar 2021, 2:24 PM
Bonn Cabello
Bonn Cabello - avatar