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

Before a cell enters mitosis, what happens to the genetic information in that cell?
A sweater originally priced at $65 is on sale for 15% off. You also have a coupon that takes another $10 off. What percent of the original price do you pay?
75% of what equals 225? What did you get for 10%, 20% , 30% , 40%, 50% ,60% and 70%?
Worth 100 POINTS What is Revolution and why was the war during the 1770s and 1780s called the American Revolutionary War? Give at least 5 specific examples. Thi
Half of the polar bears in a small population die. This population may experience changes due to what
($1.75+2 times $0.25+5 times $0.05) times 24
what form of pollution, if any, does each energy source cause
The agricultural revolution led to the need for organized a. pest control. b. technological reform. c. government. d. greenhouse gas reform.
How do you model 12 divided by 2
Discuss the role Nelson Mandela played in the abolishment of apartheid laws in South Africa.