4 of 4
Paper No: 1
- You can create new functions if you see it is necessary.
- Do not edit given statements in the main function.
Sample input and output:
-Input:
Please enter a string: 12A3aaaABC
Please enter a character: a
After processing: result = 5
Output for marking:
OUTPUT:
5
-Input:
Please enter a string: 12B3a2bA2BC
Please enter a character: 2
After processing: result = 3
Output for marking:
OUTPUT:
3
Zoom
+ 100%
Close