Any ideasss | Sololearn: Learn to code for FREE!
0

Any ideasss

How to write a program which receives from the user through the scanf function number of rows, space, Then the number of columns of a two-dimensional array, smaller than 7 and greater than 2, then a space, and accepted In addition, a two-dimensional array of the given size, containing characters of letters, not separated, and more "Word" of two different letters are not separated) Notice that the word is not a string! But two characters in a sequence. The program must count how many times the two-letter "word" appears (which we received at the end) Within the given two-dimensional array, so that both letters can appear vertically (up or down) (Down), horizontal (left or right), diagonal, and cyclic.

4th Jan 2019, 10:51 PM
Alaa Seh
1 Answer
+ 2
Did you try anything ? If yes, can you show it to us so that we can help you ? :)
28th Jul 2019, 8:37 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar