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
Nana76 [90]
1 year ago
14

What is the output of the following code? Select all that apply c=0 while ( c < 11 ) c = c + 6

Computers and Technology
1 answer:
Andreyy891 year ago
6 0

Answer:

crop=6

Explanation:

You might be interested in
What text structure this is
jasenka [17]

Compare And Contrast.

6 0
3 years ago
someone please do this for and send a screeshot or picture please its really important for my examsss :D​
dusya [7]

Answer:

I  dont know

Explanation:

i dont know

4 0
2 years ago
pleeeease help!! I tried to turn on icloud photos to save storage and it’s been stuck at 1%. does anyone know why or how to fix
gtnhenbr [62]

Answer:

Explanation:

It just takes a very long time if you have too many videos or even very long ones. It took me 14 hours to download mine. You have to let it download though do not interrupt it! Very important!

3 0
3 years ago
Write the following generic method that sorts an ArrayList of Comparable items. The sort method must use the compareTo method.
Inessa05 [86]

Answer:

Explanation:

The following code is written in Java, it prompts the user to enter 10 integers and saves them to an ArrayList. Then it prompts for 5 strings and saves them to another ArrayList. Then, it calls the sort method and adds the lists as parameters. Finally, it prints out both lists completely sorted in ascending order.

import java.util.ArrayList;

import java.util.Scanner;

class Division{

   public static double division(double a, double b) throws Exception {

       if(b == 0)

           //throw new Exception("Invalid number.");

           return (a / b);

       return a / b;

   }

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       ArrayList<Integer> mylist2 = new ArrayList<>();

       for (int x = 0; x < 10; x++) {

           System.out.println("Please Enter a Number: ");

           int number = in.nextInt();

           mylist2.add(number);

       }

       ArrayList<String> mylist = new ArrayList<>();

       for (int x = 0; x < 5; x++) {

           System.out.println("Please Enter a Word: ");

           String word = in.nextLine();

           mylist.add(word);

       }

       sort(mylist);

       sort(mylist2);

       for (String x: mylist) {

           System.out.print(x + ", ");

       }

       System.out.println("");

       for (int x: mylist2) {

           System.out.print(x + ", ");

       }

   }

   public static <E extends Comparable<E>> ArrayList<E> sort(ArrayList<E> list) {

       E temp;

       if (list.size()>1) // check if the number of orders is larger than 1

       {

           for (int x=0; x<list.size(); x++) // bubble sort outer loop

           {

               for (int i=0; i < list.size() - x - 1; i++) {

                   if (list.get(i).compareTo(list.get(i+1)) > 0)

                   {

                       temp = list.get(i);

                       list.set(i,list.get(i+1) );

                       list.set(i+1, temp);

                   }

               }

           }

       }

       return list;

}}

6 0
3 years ago
In the 1800s, the Know-Nothing Party worked to accomplish which of the following?
s2008m [1.1K]

Answer:

C

Explanation:

The know-nothing party was a strong anti catholic party and anti-immigration party, so that rules out the first option. Also we can rule out the second and last options because they have less to do with the party. The answer would be C.

4 0
3 years ago
Other questions:
  • PLEASE HELP!
    13·2 answers
  • A range in which a measuring instrument or controller does not respond is the
    12·1 answer
  • Choose a film you have watched, or watch a film you have wanted to. Write a film review in at least three paragraphs. Describe w
    5·1 answer
  • What are some reasons DNS is necessary? Check all that apply. A. It maps local addresses to simple names without editing hosts f
    7·1 answer
  • Which of these best represents a call to action?
    7·2 answers
  • Candy Kane Cosmetics (CKC) produces Leslie Perfume, which requires chemicals and labor. Two production processes are available:
    14·1 answer
  • A computer can manipulate symbols as if it understands the symbols and is reasoning with them, but in fact it is just following
    15·1 answer
  • Please tell fast plzzzzzzzz​
    9·2 answers
  • Which of the following shows data conversion taking place?
    12·1 answer
  • Online education students need to be taught
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!