1
Answer

digit using recursion Java

Photo of majid ALi

majid ALi

6y
615
1
.Write a program to count the occurance of a digit using recursion?
e.g (12312,2) output:2 because 2 occur two times
e.g (12312,4) output: -1 because of no occurrence
anybody help me ?
how can create in core java

Answers (1)