akashdeepbhattachary akashdeepbhattachary
  • 12-02-2024
  • Computers and Technology
contestada

public class Specimen7 {

public static void main(String[] args) {
int i, j, s = 0;
for (i = 1; i <= 2; i++) {
for (j = 1; j <= i; j++) {
s += j;
}
}
System.out.println(s);
}
}
Output required ​

Respuesta :

Otras preguntas

sonya can walk 12 kilometers in 4 hours. If she has to walk 15 kilometers, how much time will it take her?
Math question from moby max . 8(3+a)=64 what is a
Money that your company has in the bank in case of unexpected financial needs or in case sales slow down is called
Tina wants to save money for school. tina invests $400 in an account that pay an interest rate of 7.5%. How many years will it take for the account to reach $85
Theodosius decided to do what after his death
i forgot how to do this Which word in the sentence is a proper adjective? In Texas, we dipped crunchy chips in spicy Mexican salsa. A. Mexican B. spicy C. T
Which is the best characteristic that distinguishes the kingdom Archaebacteria from the kingdom Eubacteria
In a change jar, Tom has nickels and dimes. The number of nickels is two times the number of dimes and the total amount of money in the jar is $1.20. How many d
Rewrite the equation 2x + 4y + 2 = 3y + 5 in general form.
The Preamble includes the phrase "provide for the common defense." Which of the following powers granted by the Constitution relates to the defense of the Unite