ni2anadGayah ni2anadGayah
  • 27-03-2017
  • Computers and Technology
contestada

Write a for loop that prints in ascending order all the positive multiples of 5 that are less than 175, separated by spaces.

Respuesta :

Аноним Аноним
  • 07-04-2017
The code for the above problem is:
/* package whatever; // don't place package name! */ 

import java.util.*;
import java.lang.*;
import java.io.*; 

/* Name of the class has to be "Main" only if the class is public. */

class Ideone{ public static void main (String[] args) throws java.lang.Exception 
{ 
 for(int i=5; i<175; i=i+5){
   System.out.print(i); System.out.print(" "); 
 } 
}}

I hope this is the answer that you were looking for. 
Answer Link

Otras preguntas

whats the time zone for yalls area?
do ppl answer ixl questions to?​
Please help me with this task :(
A book sold 31,900 copies in its first month of release. Suppose this represents 9.3% of the number of copies sold to date. How many copies have been sold to da
need help!!! asap!! if yk the answers please tell me!! due tomorrow!!! ⁉️⁉️⁉️
Last question i need help on. Again ik its sunday but i got sick bad over the weekend. Incase the question is hard to read it says “ solve each equation for X.
Which expression is equivalent to −6 + 8 − 3x − 9x? −12x + 14 −12x + 2 12x + 14 −12x − 2 Which expression is equivalent to sum of quantity negative three an
Suppose a particular spectral line has a wavelength of 500 nm in the lab. If you look at the spectrum of star A, you see this line at 480 nm. Star B exhibits th
100 points need help asap
pleeeeeeease help me