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
Sunny_sXe [5.5K]
3 years ago
7

An algorithm is a step-by-step method to ✔ solve a problem . When an algorithm is part of a computer program, the process includ

ed in the algorithm ✔ is automated . When an algorithm is used in a computer program, it allows the computer to perform a ✔ repetitive task. If the algorithm does not have instructions for unanticipated results, the computer program will ✔ halt . A(n) ✔ recipe is an algorithm.
Computers and Technology
1 answer:
VikaD [51]3 years ago
4 0

Answer:

see the image below. mark me as brainliest if you want :)

Explanation:

You might be interested in
Public static void prefixmerge(customer[] list1, customer[] list2, customer[] result {
White raven [17]
I can't get what do you need, but I guess it's a part of java code. I can explain what it means. It's used to unite two rising sorted arrays which are list1 and list2. The result is stored in result array. I suggest you to clearly explain your task as it's difficult to give you correct answer.
8 0
4 years ago
The OS that has a Dock is the<br> Linux<br> Mac<br> Windows<br> MS DOS
frutty [35]

Mac OS. As verified in the picture.

While some distros of Linux have docks, Mac OS started and is known for using a dock.

8 0
4 years ago
Construct pseudocode for a program that prints ‘Hello World’ on the screen.
bagirrra123 [75]

Answer:

Declare a class with name A.

Declare the main method public static void main(String args[]){

Now Type the System. out. println("Hello World"); which displays the text Hello World.

Explanation:

google

7 0
3 years ago
Read 2 more answers
Create a Flash Card class. Flash Cards have a Question and an Answer, each of which are Strings. Your class should include a con
xeze [42]

Answer:

<u> FlashCard.java</u>

  1. public class FlashCard {
  2.    String Question;
  3.    String Answer;
  4.    public FlashCard(String q, String a){
  5.        this.Question = q;
  6.        this.Answer = a;
  7.    }
  8.    public String toString(){
  9.        String output = "";
  10.        output += "Question: " + this.Question + "\n";
  11.        output += "Answer: " + this.Answer;
  12.        return output;
  13.    }
  14.    public boolean equals(String response){
  15.        if(this.Answer.equals(response)){
  16.            return true;
  17.        }
  18.        else{
  19.            return false;
  20.        }
  21.    }
  22. }

<u>Main.java</u>

  1. public class Main {
  2.    public static void main(String[] args) {
  3.        FlashCard card1 = new FlashCard("What is highest mountain?", "Everest");
  4.        FlashCard card2 = new FlashCard("What is natural satelite of earth?", "Moon");
  5.        FlashCard card3 = new FlashCard("Who is the first president of US?", "George Washington");
  6.        FlashCard cards [] = {card1, card2, card3};
  7.        for(int i=0; i < cards.length; i++){
  8.            System.out.println(cards[i]);
  9.        }
  10.    }
  11. }

Explanation:

In FlashCard.java, we create a FlashCard class with two instance variable, Question and Answer (Line 2 - 3). There is a constructor that takes two input strings to initialize the Question and Answer instance variables (Line 5-8). There is also a toString method that will return the predefined output string of question answer (Line 10 - 15). And also another equals method that will take an input string and check against with the Answer using string equals method. If matched, return True (Line 17 -24).

In Main.java, create three FlashCard object (Line 3-5) and then put them into an array (Line 6). Use a for loop to print the object (Line 8-10). The sample output is as follows:

Question: What is highest mountain?

Answer: Everest

Question: What is natural satelite of earth?

Answer: Moon

Question: Who is the first president of US?

Answer: George Washington

6 0
4 years ago
One item you will NOT need to provide when opening up a bank account
gladu [14]

Answer:

You don't need a birth certificate

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • A(n) _ is a book of synonyms.
    14·1 answer
  • Certain medications can increase risk of obtaining a sunburn true or false
    12·1 answer
  • You are planning to buy a new server that will act as the server portion of a client/server application. A colleague of yours ma
    9·1 answer
  • When saving a PowerPoint presentation as a show which object will not be saved with the presentation
    13·2 answers
  • Why might a neurosurgeon receive a higher wage than a nail technician ?
    12·2 answers
  • Differentiate agricultural waste from hazardous waste.​
    9·1 answer
  • I still haven't figured out how to award someone branliest will someone help me? If you explain to me how to do it i will do awa
    14·1 answer
  • A constructor must have a return statement.<br><br> True<br><br> False
    14·2 answers
  • with the aid of your own example explain how memory,registers and secondary storage all work together​
    8·1 answer
  • How do I find unwanted programs on my computer?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!