0
How to elimintae alternate numbers in a given number by using static method with parameters.
For example, if the given number is 12345 then print output as 135.
2 Respuestas
+ 5
Here's a hint for you:-
You can treat it as a string and pick only the digits on even-number index only. 😉
0
Without using strings or arrays.