Computer Science, asked by keertanachiguru7126, 1 year ago

Algorithm to find sum of all even numbers from 1 to 80

Answers

Answered by ShVa
0
int I;
for(I=0;I<81;I++)
{i=I
if(i%2==0)
{i+=i;}
}
}
System.out.println(i);
Similar questions