You create a program that displays the sum of even integers between and including two numbers entered by the user ..
ex) 2 and 7 = the sum of 12 (2+4+6)
this is
for(int i = num1; i <= num2; i++) { if(!(i & 1)) sum += i; }