Hello everyone,
for example, I have name.txt file. It contains three lines of text (see below):
Roses are red%
Sky is blue%
JAVA is cool%
All lines ended with % symbol.
I need to count how many every line have characters and which character is repeated max and min times.
Thanks !