I am trying to count the number of occurrences of the letter in a string within a SPARC machine.But I cannot seem to find the way to code this problem. How can I get started? Here is an example:
Enter a string: stackoverflow
The letter o appears 2 times