Computer Science, asked by akshay14949, 3 months ago

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 anjugoyal954
1

Answer:

print 67

print 9

print 67

Similar questions