Given a floating point number, check whether it is even or odd.
Input : 100.7 Output : odd Input : 98.8 Output : even Input : 100.70 Output : odd Trailing 0s after dot do not matter.
INPUT: The first line consists of an integer T i.e. the number of test cases. First line of each test case consists of a integer n. Second and last line of each test case consists of input string s.
OUTPUT: Print "ODD" or "EVEN" based on the floating point number.
3<=|Length of string|<=104
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.