let x = 0; let y = 0; let question = prompt("How many time do you want to see the message?"); question = Number(question); for(let a = 0; a < question; a++){ console.log("My message #"+(a+1)); } /* while (x < 10){ console.log("currently x is = "+x); x++; } do{ console.log("currently y is = "+y); y++; } while(y < 10); for(let z = 0;z < 10;z++){ console.log("currently z is = "+z); } */