Introduction
A composite word is a concatenation of two-or-more other words, such that the minimum length of each constituent word is 3.
In this article the program which accepts a list of words and an integer or string as input and prints the count of composite words which can be constructed by concatenating integer and string or more other words which are also present in the input.
Code:
File Path:
- System.IO.StreamReader file =
- new System.IO.StreamReader("E:\\Mvc Test\\ConsoleApplication1\\ConsoleApplication1\\File\\test.txt");
Change your file path otherwise you got some error.right click the test.txt inside the file folder.then you get file path.
Output:
Personal Blog.