I should make console application in which we have input of a number of rows with one word on each. Of these words I have to find the most common letter and if there is a number in some of the strings, the program should show the greatest one. But if there is not a number, don't show a result for the number.
This is what I have:
This is what I have:
C#:
class Program
{
private static object user_string;
static void readString()
{
}
static void Main(string[] args)
{
int arr = Convert.ToInt32(Console.ReadLine());
string[] rows = new string[arr];
for (int no = 0; no < rows.Length; no++)
{
rows[no] = Console.ReadLine();
}
for (int no = 0; no < rows.Length; no++)
{
Console.WriteLine(rows[no]);
Console.WriteLine(rows[no].Length);
}
Last edited by a moderator: