The user must be able to provide a string to your app and your app will verify that the string exists in the generated matrix. For example, suppose the use
Using visual studio 2019 and using c#
Create a WPF app that will take a value n from the user, representing a side of a square matrix.
Your program will generate an n x n char matrix. The chars’ values are randomly generated. This matrix will be printed into a text file.
Suppose the data that is contained in the text file is as follows.
s d k w e
a e r e q
j g e u c n
t q a d s w
a s f w t n
The user must be able to provide a string to your app and your app will verify that the string exists in the generated matrix.
For example, suppose the user wants to see if qwerty is in the matrix. The user provides qwerty to your system, and they are informed it doesn’t exist in there!
What if the user provides aereq? Well, the user will be informed the string exists.
I will only be testing in the vertical (going down) and horizontal (going right to left) directions.
Please explain your
Step by step
Solved in 2 steps with 1 images