Answers for "problem solving for loop in javascript"

1

problem solving for loop in javascript

for (let step = 0; step < 5; step++) {
  // Runs 5 times, with values of step 0 through 4.
  console.log('Walking east one step');
}
Posted by: Guest on February-27-2020
0

problem solving for loop in javascript

let a=Number(prompt("a:"));
let b=Number(prompt("b:"));
let s=0;
for(let i=1;i<=a;i++){
    s=i*b;
}
console.log(s);
Posted by: Guest on August-06-2021
0

problem solving for loop in javascript

kjhhgjh
Posted by: Guest on August-06-2021

Code answers related to "problem solving for loop in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language