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

Which of the following are examples of limited resources on the part of consumers? a. product and space b. money and product c. time and money d. space and tim
Using the quadratic formula to solve x2 + 20 = 2x, what are the values of x? -1 IN -10V21 19; 1+2 V19; 1+ 19/
Which of the following is the best definition of slope?O A. The point where a line crosses the y-axisB. The measure of the steepness of a lineO C. The value of
Do you think the court made the right decision in its ruling on Roe v. Wade? Write a short essay (100 to 150 words) describing why you think the court did or di
In tennis, which of the following is the third score possible after a game has started? a) Love - 15 b)30 - 15 c) 15 - 15 d) Deuce
4x+1/15=2x/10 PLEASE HELP
Kendra is choosing bouquets of flowers for table centerpieces. She decides to buy 40 bouquets for $120 because she thinks that price is a better value than 40 b
Because Aaron Ogden had a state license in New York, he believed O steamboat operators without such a license could not operate full time in New York waters. O
Travis was attempting to make muffins to take to a neighbor. The recipe that he was working with required ¾ cup of sugar and ⅛ cup of butter. Travis accidentall
What percentage is shaded in the rectangle provided in the photo below?