Given a number and a single digit number as the input.
Find the index of that single digit number.
for eg. a=83456, x=4
output should be y=3
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers48
Suggested Problems
-
Find the two most distant points
2950 Solvers
-
Numbers with prime factors 2, 3 and 5.
681 Solvers
-
425 Solvers
-
Pernicious Anniversary Problem
836 Solvers
-
Sum the squares of numbers from 1 to n
258 Solvers
More from this Author6
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!