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;
echo $num.'<br />';
$num = $num+2;
} while ($num < 100);
Quite easy, just change the 100 to how far you want it to go.
Follow this link. And to make sure that you actually get to do some code, change the values in the code to suit yo preferences.
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.
Looks like somebody didn't take the hint :(
I'm having a problem with the program i did.
The problem is ;
It says that the conversion ( for the grade part , the ones with '+' and '-') ...
I have recently been using XAMPP for dev. Although I'm new to XAMPP, the recent issue sprung up surprisingly, the simple script running a day before.
The script is just ...
Im trying to make a program that shifts all my elements of array to the right by one and move the last element
into the first position.how would i move ...