int sum = 0;
int i = 0;
while (i<100) {
if ( i % 2 == 1) {
sum += i;
}
i++;
}
System.out.println("The sum is " + sum);
int num=0;
do{
if(i%2==0){
continue;
}
num+=i;
}while(i<=100)
System.out.print(num);
int i = 1;
int sum = 0;
do {
if (i % 2 == 1) {
sum += i;
}
i++;
} while (i <= 100);
System.out.println(sum);