tenth

CF

Digit In Tenth Position

The program must accept a positive integer N and print the digit in the tenth position. Input Format:The first line denotes the value of…