Q. Consider a string "REVOLUTION".

WAP that displays the number of times a letter 'o' exists in it.
  • Enter a string:
  • Number of occurances of "O":