I'm so sorry - I don't know what I was thinking typing that. I think that I was thinking of num &1.
You are right. I've been misreading things all day. I'm sorry again!!
Type: Posts; User: Click_here
I'm so sorry - I don't know what I was thinking typing that. I think that I was thinking of num &1.
You are right. I've been misreading things all day. I'm sorry again!!
You should post your problem in the C++ forum
if (num % 2 == 0 && num > 0)
{
evencount++;
sum1=num++;
sumeven = sum1 + sumeven;
}