Find occurrence of a Character in a string. String: Bangladesh is a big country. Sample Input: b, Output: 2 times Sample Input: p, Output: Not found…
Find occurrence of a Character in a string. String: Bangladesh is a big country.
Sample Input: b, Output: 2 times
Sample Input: p, Output: Not found this letter
From the BKSP Assistant Programmer December 2022 – Written exam, question 1 of 7.