Java Taskbook Level 10.9

Задание 1

Given a file with text. Find the most frequently used symbol of this text and output it into a paragraph.

Задание 2

Write a code that will generate a password of a given size. The password must contain a lowercase and uppercase letter, a number, and some special symbol.

Задание 3

Given a string containing a fraction:

java"12/16"

Write a code that will describe the process of reducing a fraction, like in school:

java"12/16 = 6/8 = 3/4"
Задание 4

Given an arbitrary two-dimensional array:

java{
  {11, 12, 13, 14, 15},
  {21, 22, 23, 24, 25},
  {31, 32, 33, 34, 35},
  {41, 42, 43, 44, 45},
  {51, 52, 53, 54, 55},
}

Swap the two given columns:

java{
  {11, 15, 13, 14, 12},
  {21, 25, 23, 24, 22},
  {31, 35, 33, 34, 32},
  {41, 45, 43, 44, 42},
  {51, 55, 53, 54, 52},
}