Answer:
- import java.util.Arrays;
- import java.util.Scanner;
-
- public class Main {
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- double distances [] = new double[7];
-
- for(int i=0; i < distances.length; i++){
- System.out.print("Input running distance for day " + (i+1) + ": ");
- distances[i] = input.nextDouble();
- }
-
- System.out.println(Arrays.toString(distances));
- }
- }
Explanation:
The solution code is written in Java.
Firstly, create a Scanner object to get user input for running distance (Line 6). Next, declare a distances array and set the array size to 7 because we intend to use this array to hold running distance for 7 days per week.
Next, use the for loop that run for 7 times to repeatedly prompt user to input running distance for each day and store each value to the array distances (Line 9 -12).
At last, display the array to console terminal (Line 14).
Answer:
Information about the parts of a cell, its location and role will help describe the appearance of a cell's content.
Organelles are cell structures that include the nucleus, cytoplasm, cell membrane among others. One can view these using a light microscope.
1. Cell Membrane is a fluid mosaic. It is the outer boundary of the cell.
2.Cytoplasm is the fluid inside the cell. It is located between the nucleus and the cell membrane.
3.Nucleus is the control center of the cell and is located at the center.
The standard QWERTY layout keyboard is called 'QWERTY' because on the top line of the keyboard the first 6 letters from chronological left to right order are; Q, W, E, R, T, and Y.
Or...if you're wondering why it's QWERTY and not ABCDEF, it's because when typing with the alphabetical format, many of the keys would clash with each other due to the arrangement of keys on the original typewriter. The QWERTY layout became so popular, it was the standardized layout for typewriters, and even keyboards today.
<span>If the temperature gauge moves up to just below the red zone,you should turn off your air conditioner and turn on your
vehicle's heater. Then immediately </span>find a mechanic or pull over safely and contact a road service.
I think it’s a
if it isn’t a then it’s d