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

What are some of the main milestones that help to shape the United States to be a major play in world politics?
A cube has edges measuring 5 inches. Find the surface area of the cube. 5 inches 102 square inches 100 square inches 150 square inches 105 square inches С d
Pls help... asappp pls.
If two opposite sides of a square are increased by 8 meters and the other sides are decreased by 5 meters, the area of the rectangle that is formed is 68 squar
what is 6/6 in a reduced fraction
The central premise of due process rights is the presumption of innocence. O True False
Suppose you are given samples of pentane, 2,2-dimethylpropane, 2-methylbutane and hexane. how you would go about determining which substance had the highest boi
how can I learn english? and enhance myself​
Prompt Explain how scientific theories differ from scientific laws.
f(x) = -2x, g(x)= -2x-1