Help me to solve the task. Create function which consider letter in word.
Example:
func(“Eduard”)

return

E: 1,
a: 1,
d: 2,
r: 1,
u: 1

Given the site you linked to I worry this is for a paper you are being paid to write.

Also, you didn't show any effort in your code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.