majid ALi

majid ALi

  • NA
  • 14
  • 1.7k

digit using recursion Java

Dec 1 2018 11:30 AM
.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)