Given an integer N, you have to print the sum of odd numbers and even numbers from 1 to N
First line consists of T test cases. First line of every test case consists of a Single integer N.
Single line output, with sum of odd numbers and even numbers respectively.
1 <= T <= 100
1 <= N <= 105
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.