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.
1 Respuesta
+ 2
Did you try anything ? If yes, can you show it to us so that we can help you ? :)