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

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Using visual studio 2019 and using c# programming

 

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 algorithms for this part 

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY