1for (let step = 0; step < 5; step++) {
2 // Runs 5 times, with values of step 0 through 4.
3 console.log('Walking east one step');
4}
5
1let a=Number(prompt("a:"));
2let b=Number(prompt("b:"));
3let s=0;
4for(let i=1;i<=a;i++){
5 s=i*b;
6}
7console.log(s);