kmcgee511 kmcgee511
  • 11-11-2022
  • Computers and Technology
contestada

Write a java program that prints the following sequences (in the given order) using a while loop. The numbers in the sequences can be printed on a single line or on separate lines.
a) 2, 3, 4, ... , 14, 15
b) -10, -9, -8, ... , 9, 10
c) 100, 99, 98 ... , 91, 90
d) 40, 37, 34, ... , 25, 22

Respuesta :

Otras preguntas

Andrew invested $20,000 in mutual funds and received a sum of $35,000 at the end of the investment period. Calculate the ROI. I need the perentage...
Which South African city is a regional hub of commerce and has South Africa's premier international airport? a. Johannesburg b. Cape Town c. Durban d. Pret
Plz help with exponents questions
can a pair of numbers have more than one common factor?
Who held the most power in Puritan towns and why?
How are the values of the eights related in 880?
Why is every prime number greater than 2 an odd number?
can some one eplain and show work 6a+12=2(3a-8)
5 times the difference of a number and 20 is the same as half the sum of 4 more than 4 times a number
14.53 - 9.8 using mental math?