6
answers
2
watching
434
views
asomontanLv1
24 Oct 2021
A java program that would add the first 10 numbers, then skip the next 10 numbers, do this alternately from number 1-100 (add 10 numbers, skip 10 numbers, add 10 numbers, skip 10 numbers again reaching the number 100)
USE only one for loop statement and two ifs statements, there should only be 3 variables. Display your answer by using a dialog box (JOPTION).
A java program that would add the first 10 numbers, then skip the next 10 numbers, do this alternately from number 1-100 (add 10 numbers, skip 10 numbers, add 10 numbers, skip 10 numbers again reaching the number 100)
USE only one for loop statement and two ifs statements, there should only be 3 variables. Display your answer by using a dialog box (JOPTION).
Read by 3 people
Read by 6 people
Read by 6 people
Read by 6 people
Read by 6 people
Read by 7 people