This is what I need
1) I also need to use a for loop to prompt user to input two intergers: firstNumber and secondNumber (firstNumber must be less then secondNumber)
2) Outputs all odd numbers between firstNumber and secondNumber
3) output the sum of all even numbers between firstNumber and secondNumber
4) output the sum of the square of the off numbers between firstNumber and secondNumber (take each one, and then add them together)
This is what I have
int firstNumber, secondNumber, i;
cout<<"please enter a number. ";
cin>>firstNumber;
cout<<endl;
cout<<"please enter a number greater than the first number. ";
cin>>secondNumber;
cout<<endl;
for (i=firstNumber; i=secondNumber)
{
}