write a program to print odd numbers series using do while statement

Are you thinking that someone will write that code for you? Guess again.

What have you got so far. Post your code.

Printing odd numbers? Shouldn't really be that hard.

$num = 1;
do {
    echo $num.'<br />';
    $num = $num+2;
} while ($num < 100);

Quite easy, just change the 100 to how far you want it to go.

Without putting some self effort we can't help you, and from this question, it looks like you are not serious in learning how to code.

Member Avatar

Looks like somebody didn't take the hint :(