function sum_all3() { var result3 = 0; var i = 0; do { i++; result3 += i; } while (i <= 100); return result3 } alert(sum_all3())