Write a Program in Java to Print ++++middle digit of a number if the number of digits in it are odd++++
AND
++++print two mid digits of it if the no of digits in it are even+++
eg 2989454
print -----9
676789
print------67
Answers
Answered by
1
Answer:
print 67
print 9
print 67
Similar questions