What is the code for following output ? In description I write output.

Enter a string:hello h* e* l** o*

4/5/2019 5:46:42 AM

K. Tejaswini

2 Answers

New Answer


Why don't you give it a try by yourself first ?? Follow the community guidelines. https://www.sololearn.com/discuss/1316935/?ref=app


Based on the output, you need to check how many times each character occurs in the string and print asterisks based on the number of occurences of each character.