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 11:00
The great length of north america causes the climate to be varied. true false
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Acase study allows a more detailed look at the life of a single subject than any other study.
Answers: 3
question
Computers and Technology, 24.06.2019 15:30
How do i change the size of my bookmarks in my bookmarks bar in google chrome? ? plz hlp me
Answers: 2
question
Computers and Technology, 26.06.2019 05:30
Make three statements about technology
Answers: 2
You know the right answer?
PLS HELP ME ! What's the dry running program of this Input :
// Java program to illustrate f...
Questions
Questions on the website: 13722361