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 is your favorite time of day to take photographs? Why? What is the light like at this time? Describe a photograph that you have taken at this time of day.
HELP PLZ!!!!!!!!! QUICKLY!!!!!!!!!!!! Which sentence contains both an action verb and a linking verb? A. When the movie ended, the audience applauded. B. That
For a luncheon, Andre made 5 cups of tuna salad, 2 cups of chicken salad, and 3 cups of egg salad. What is the total number of servings Andre made for all three
Will give brainliest
how did spain respond to the 1895 cuban revolution? answer: B.) by sending in thousands of troops who were authorized to use brutal methods.
A record label company recently released two albums. Both albums are available for purchase as CDs or digital downloads. The table shows the number of copies in
what is the answer ​
Great Britain and France responded to Germany annexing Austria and the Sudetenland by: 1declaring war on Germany. 2sending arms to these regions. 3pursuing a po
Jake paid $9840 in interest on his interest-only home loan last year. If his interest rate was 7%, how much was the balance on his loan?
A store sells 12-packs of ballpoint pens for $1.09 each and composition books for $2.79 each. Cindy buys m packs of ballpoint pens and n composition books. The