Accept an integer and Print hello world n times in loop Get link Facebook X Pinterest Email Other Apps February 07, 2024 // Accept an integer and Print hello world n timeslet a = Number(prompt("enter the number"))for(let i = 0;i < a; i++){ console.log("hello world")} Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment