Answers for "for();"

8

javascript for

let str = "";

for (let i = 0; i < 9; i++) {
  str = str + i;
}

console.log(str);
// expected output: "012345678"
Posted by: Guest on February-16-2020
0

for loop

double serviceCharge = 0;  if (cost >= 150)  
{  
   serviceCharge = 0.15 * cost;  
}
Posted by: Guest on May-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language