Finding Placevalue of a digit in a number

Revision en1, by alt_438, 2021-10-04 15:08:58

Given a positive integer N and a digit D. The task is to find out the place value of a digit D in the given number N. If multiple occurrences of digit occur then find the maximum place value. please suggest how to solve this problem.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English alt_438 2021-10-04 15:08:58 275 Initial revision (published)