I have this code and instead of
918273645546372819099
output in HTML, I want to see something like:
9
18
27 etc.
// Creating a while loop
var myValue = 9;
// Loop to find numbers that are multiples of nine that are less than 100
while (myValue < 100)
{
if (myValue % 9 == 0)
{
document.write(myValue);
}
myValue++;
}