For this Question: Edward participated in one maths competition. He was asked to find the number of ways to choose a pair of an even number and an odd number from the positive integers between 1 and N (inclusive). The order does not matter.The input line contains only one input N.

<b>Constraints</b>
2&le;N&le;100
N is an integer.Print the number of ways to choose a pair of an even number and an odd number from the positive integers between 1 and N (inclusive).<b>Sample Input 1</b>
3

<b>Sample Output 1</b>
2

<b>Sample Input 2</b>
6

<b>Sample Output 2</b>
9

<b>Sample Input 3</b>
11

<b>Sample Output 3</b>
30, I have written this Solution Code: #include <iostream>
 
using namespace std;
 
int main() {
    int k;
    cin >> k;
 
    cout << (k / 2) * ((k + 1) / 2) << endl;
 
    return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?