Pls give me the Solution..........

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bristi20
    New Member
    • Nov 2008
    • 1

    Pls give me the Solution..........

    I am facing a problem regarding a JAVA program.
    The Program is "Write a Program in Java to find maximum prime digit of a given number by user"...
    Say number is=25749. So maximum Prime Digit is=7.
    please help me..
    my email address is <email address removed>
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Represent your number by a String and use the indexOf() method.

    kind regards,

    Jos

    Comment

    Working...