This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Mark Keeler
almost 9 years

Simple code runs, but will not let me continue

In exercise 1.7 I did a few simple variations of the Do-While loop. In each case the code runs as expected, but the courseware says I did not write a correct statement and I can’t continue. Anybody see an issue why this wouldn’t be ‘correct’?

Here is the code snippet:

    $count=0;
    
    do {
        $count++;
        echo "<p>Count is now: $count</p>";
        }
    while ($count<10);
    
    echo "Done counting!"; 

Answer 5523e52bd3292f85e1000626

0 votes

Permalink

Never mind folks. After reloading the page the courseware accepted that code snipped as ‘correct’ and let me proceed.

points
Submitted by Mark Keeler
almost 9 years