suzen123
suzen123 suzen123
  • 04-01-2021
  • Computers and Technology
contestada

JAVA

Write a program to display the first ten terms of the series:
5, 10, 17, --------------​

Respuesta :

tonb
tonb tonb
  • 04-01-2021

Answer:

class Main {  

 public static void main(String args[]) {

   int a = 5;

   int delta = 5;

   for(int i=0; i<10; i++) {

       System.out.printf("%d, ", a);

       a += delta;

       delta += 2;

   }

 }

}

Answer Link

Otras preguntas

over a period of two weeks, Todd went from bench pressing 190 pounds to 220 pounds. Find the increase in weight that Todd can bench press. Round your answer to
Write the inequality for the following graph.
how do you simplify the expression 3 root 7 over -1- root 27? please explain with details. does multiplying by conjugates work in this problem where the radical
John leaves school to go home. He walks 6 blocks North and then 8 blocks west. How far is John from the school?
Need help on this. thank you
EASY QUESTION POINT!!!! Find the missing values, if not whole number then round two decimal places
Which of the following languages is spoken by the most people in the world today?A.ArabicB.EnglishC.SpanishD.Chinese
Which was not in achievement of Prince Henry of Portugal
Mcdonald's extra value meal is an example of bundle pricing, a frequently used ________________ practice.
if a figure is dilated with a scale factor a greater than 1 is the resulting figure larger or smaller than the original figure explain your reasoning