mariewilliams78
mariewilliams78 mariewilliams78
  • 18-03-2021
  • Computers and Technology
contestada

Write a program using for loop to find the cube of numbers from 50-100

Respuesta :

Аноним Аноним
  • 18-03-2021

Answer and Explanation:

JAVA

for(int i = 50;  i <= 100          i++;)

{

    int cubedNum = Math.pow(i, 4);

    System.out.println(cubedNum);

}

Answer Link

Otras preguntas

Who lives in West Egg in The Great Gatsby Chapter 1?.
Please Help!! Tracy brought some chocolate chips in a plastic container with her lunch. She decided to save them and eat them while she waited for the bus after
There vertices of a rectangle are located at (2,4), ( -2, -5), ( -2, 4) on a coordinate plane. What are the coordinates of the fourth vertex of the rectangle
prove that:cosA/sinA -sinA/cosA=2cos^2A-1/sinA cosA​
(a) Iff:R→R is defined by f(x) = x² +3, find the function g such that (fog)(x)=9x² -12x+7.​
the three interior angles of a triangle measure x°, (x+5)°, and (x+25)°, which is the measure of the three angles * 45° * 65° * 70° * 50°
The speed of light is 3.0 x 10^8 m/s. If the distance from Earth to the Sun is 1.5 x 10^8 km, how many minutes does it take for light from the Sun to reach the
I know that the answer is C, but could someone explain why?
Examine the number line,and then choose the correct symbol to complete each statement
Question 10 of 35 The graph shows the change in temperature of a sample of water in a closed system as thermal energy is added over time. Temperature (°C) 150°C