title: C++ Loops For Even and Odd Numbers
body: <p>Write a program that asks the user for non-negative integers X and Y. Using a loop, alternate between adding and multiplying integers starting at X and finishing at Y. If the number is even, add it to the total. If the number is odd, multiply it. For example, if X=5 and Y=10, your program should calculate ((5+6)*7+8)*9+10=775. If X=2 and Y = 5, calculate (2*3+4)*5=50. </p>
  
  <p>I know how to split the even and odd number, but I have no idea how to put it together. </p>