I need to make a program that can take numbers of up to 100 digits as input. No standard int
datatype will be able to do that! I've never come across such a bizarre situation.
I don't get it at all. How am I supposed to solve this?
The question I'm working on is this:
A whole number will be given, and you have to make a program that will determine whether it's an even or odd number.
Input Specification
In the first line, there will be an integer T denoting the number of testcases. In the following T lines, a non-negative integer will be given. The number can have a maximum of 100 digits.
Output Specification
For every whole number given, you will have to print whether it's odd or even as output.
Can anyone guide me on how to solve the problem (if it is even possible to do so)?