1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
shepuryov [24]
3 years ago
8

After a hard rain, water flows faster in a local creek. This washes away a lot of sediment, making the creek a little deeper.

Computers and Technology
1 answer:
notka56 [123]3 years ago
6 0
B. The Grand Canyon 
Got this of a Study Island test.  Good Luck!
You might be interested in
In dhcp, what address is reserved for use by clients that are not yet configured with an ip address?
kicyunya [14]
The answer is : 0.0.0.0   In DHCP, 0.0.0.0 is reserved for use by clients that are not yet configured with an IP address.  <span>The IP address 0.0.0.0 indicates different uses at different places. Usually, it’s a non-routable meta address that’s not bound to any particular remote address. Dealing with servers, it means all IPv4 addresses in the local machine.</span>
5 0
3 years ago
If something is copyrighted,
Over [174]
D. because you can’t copy a movie with credit, you have to have permission
7 0
4 years ago
Write a Java program HW2.java that asks the user to enter an array of integers in the main method. The program should prompt the
tino4ka555 [31]

Answer:

The java program for the given scenario is given below.

This program can be saved as HW2.java.

import java.util.Scanner;

public class HW2 {

   public static void main(String args[]) {

      HW2 ob = new HW2();  

     Scanner sc = new Scanner(System.in);

     int len;      

     System.out.println( "Enter the number of elements to be entered in the array");

     len = sc.nextInt();

     int[] arr = new int[len];

     System.out.println( "Enter the elements in the array");

     for( int k=0; k<len; k++ )

     {

         arr[k] = sc.nextInt();

     }

     boolean sort = ob.isSorted(arr, len);

     System.out.println( "The elements of the array are sorted: " + sort );

   }    

   public boolean isSorted( int a[], int l )

   {

       int sort = 0;

       if( l==1 )

           return true;

       else

       {        

           for( int k=1; k<l; k++ )

           {

               if(a[k-1] < a[k])

                   continue;

               else

               {

                   sort = sort + 1;

                   break;

               }

           }

           if(sort == 0)

               return true;

           else

               return false;

       }

   }

}

OUTPUT

Enter the number of elements to be entered in the array

3

Enter the elements in the array

1

2

1

The elements of the array are sorted: false

Explanation:

1. First, integer variable, len, is declared for length of array. User input is taken for this variable.

2. Next, integer array is declared having the size, len. The user is prompted to enter the equivalent number of values for the array.

3. These values are directly stored in the array.

4. Next, the function isSorted() is called.

5. This method uses an integer variable sort which is declared and initialized to 0.

6. Inside for loop, all elements of the array are tested for ascending order. If the 1st and 2nd elements are sorted, the loop will continue else the variable sort is incremented by 1 and the loop is terminated.

7. Other values of the variable sort indicates array is not sorted.

8. A Boolean variable, sort, is declared to store the result returned by isSorted method.

9. Lastly, the message is displayed on the output whether the array is sorted in ascending order or not.

7 0
3 years ago
If anyone know python code, your answer will be valuable.
Veseljchak [2.6K]

Answer:

Explanation:

B

4 0
3 years ago
Read 2 more answers
What happens if a computer has a virus that cant be deleted?
sveta [45]
Then the computer is broken. But what you can do is wipe everything on it and that kills the virus. If it's a blue screen of death then you need a computer genius to type some code and delete the blue screen of death. However if it is a Trojan virus there is no way of get tut rid of it
7 0
3 years ago
Read 2 more answers
Other questions:
  • Using Matlab programming I need to rotate the line defined by x,y by 45 degrees around 2,2
    13·1 answer
  • What is the working principle of computer?
    9·1 answer
  • Where do you want to install?
    8·1 answer
  • Imagine Frankie has a computer with a full hard drive. She needs to create and save a new document, so she deletes a bunch of ol
    8·1 answer
  • Which of the following are the benefits of using Responsive Display Ads?
    9·1 answer
  • Give ways on how to effectively save.​
    15·1 answer
  • If there is a combination of two or more attributes which is being used as the primary key then we call it as
    12·1 answer
  • Materials used in front office
    5·1 answer
  • What is the difference between a crosstab query and a subquery?
    11·2 answers
  • Who is considered as the father of computer science?​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!