title: Javascript get a 100 percentage regardless of the total number
body: <p>I have a progress bar which needs to be a 100 percent , Now I was thinking about what formula can we use so we can always end up getting 100 ?. For example if the user inputs 1 then we will multiply that by 100 so we can 100 but what if the user input 2 , 3 ,4 ,5 ,5 ,6 ,7 8 ,9  what formulat we will use to still get 100. The limit is number 10.</p>