subject

PLS HELP ME ! What's the dry running program of this Input :
// Java program to illustrate for loop.
class forLoopDemo {

public static void main(String args[]){

int sum = 0;

// for loop begins
// and runs till x <= 20
for (int x = 1; x <= 20; x++) {

sum = sum + x;

}
System. out. println("Sum: " + sum);

}

}
Output :
Sum : 210

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead która śledzi lee w 4 epizodzie
Answers: 1
question
Computers and Technology, 22.06.2019 21:50
Given int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total. thus your code should put 11 + 22 + 33 + + 4949 + 50*50 into total. use no variables other than k and total.
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
Atype of researcher who uses computers to make sense of complex digital data
Answers: 1
You know the right answer?
PLS HELP ME ! What's the dry running program of this Input :
// Java program to illustrate f...
Questions
question
Mathematics, 19.05.2020 03:18