How to solve the code, from a given string, print the string in all uppercase if the number of uppercase is more than lowercase letters? Otherwise if lowercase is greater or equal
![4 JavaScript program to check if the first character of a string is in lower case or not - CodeVsColor 4 JavaScript program to check if the first character of a string is in lower case or not - CodeVsColor](https://www.codevscolor.com/static/153e11f2e51eed39393898773358b426/79d30/javascript-check-first-character-string-lower-case.png)
4 JavaScript program to check if the first character of a string is in lower case or not - CodeVsColor
![javascript - How can I convert each alternate character of a string lowercase to uppercase and string uppercase to lowercase in Jquery? - Stack Overflow javascript - How can I convert each alternate character of a string lowercase to uppercase and string uppercase to lowercase in Jquery? - Stack Overflow](https://i.stack.imgur.com/pbo0R.png)