84 of 100 menu

C++ Taskbook Level 9.4

Given a file. Read its text and find the most frequently occurring word in this text.

Given some array:

int arr[] = {1, 2, 3, 4, 5, 6, 7};

Find the array element whose value is closest to the array mean.

Given a string:

std::string txt = "abcde abcde";

The variable stores the following symbols:

std::string del = "abe";

Remove all the characters specified in the variable from the string. In our case, we should get the following:

"cd cd"
enru