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
denis-greek [22]
3 years ago
15

When trying to solve a problem, Bret uses a logical, step-by-step formula called ________.

Computers and Technology
1 answer:
Alexxx [7]3 years ago
5 0

Answer:

B) An Algorithm

Explanation:

An algorithm is defined as the step-by-step solution to a given problem that follows a logical sequence and which is also finite. In mathematics and computer science, the first step in solving a given problem is writing out the algorithm which will include steps for calculations, decisions, data processing, input/output etc. There are scientific ways of representing algorithms through the use of flowcharts, pseudocodes, data flow diagrams etc.

You might be interested in
Study the editorial cartoon Participation in Youth Sports Down by Dan Landgren Jr.
Sergeu [11.5K]

Answer:

What is the coordinates of points B in the diagram

Explanation:

D

8 0
4 years ago
Read 2 more answers
I DON"T GET THIS WHY IS THIS FUNNY
MakcuM [25]

Answer:

They deleted my answer what is funny?

Explanation:

8 0
3 years ago
Can someone help me with these questions on linear dimensions pls
andrew-mc [135]
Size dimentions reffer to overall dimentions and will tell the overall width, lenth height and depth of something location dimentions means the locatuon of each geometric shape.
7 0
3 years ago
Read 2 more answers
g write a recursive function that prints out all the even numbers between x and y inclusive if x is odd then the print out will
Reil [10]

Answer:

The function written in python is as follows:

def EvenNumbers(x, y):

    if (y < x):

         return

    if (y % 2 == 0):

         EvenNumbers(x, y - 2)

    else:

         EvenNumbers(x, y - 1)

    if (y % 2 == 0):

         print(y)

Explanation:

x represents the lower limit while y represents the upper limit.

So, the recursion will be repeated as long as x <= y

This defines the function

def EvenNumbers(x, y):

This checks if y < x. If yes, the recursion stops execution and return to the main

<em>     if (y < x): </em>

<em>          return </em>

The following if and else condition checks determines the appropriate range of the recursion.

<em>     if (y % 2 == 0): </em>

<em>          EvenNumbers(x, y - 2) </em>

<em>     else: </em>

<em>          EvenNumbers(x, y - 1) </em>

The above takes care of printing starting at x + 1 if x is odd

This checks and prints the even numbers in the range

<em>     if (y % 2 == 0): </em>

<em>          print(y)</em>

<em />

To call the function from main, make use of

EvenNumbers(x, y)

Where x and y are integers

e.g EvenNumbers(2,10), EvenNumbers(1,17), EvenNumbers(3,21)

<em>See attachment</em>

3 0
3 years ago
Assignment: Write a complete MIPS program that implements the algorithm below (in C ). This algorithm calculates the factorial f
bekas [8.4K]

Explanation:

There are various basic computer programming languages and one of them is the C language, the base of many computer lanuages.

The code of finding factorial is written below;

CODE

#include<stdio.h>

int main (void)

{

    int i,

   int factorial =1,

   int input;

   printf("Enter a number for finding its factorial: ");

    scanf("%d",&input);

   if (input == 0)

factorial = 0

 eles

    for ( i =1; I < = input ;i++)

        factorial = factorial*i;

   

    printf("Factorial of given %d is: %d",input,factorial);

    return 0;

  }

4 0
4 years ago
Other questions:
  • ​ Search engines can perform date-filtered searches because, when web servers send a webpage to a ____, they include a header th
    11·1 answer
  • Describe the use of technology in the promotional function
    5·2 answers
  • What is media consumption ?
    12·2 answers
  • I need help please!!?
    11·2 answers
  • Complete the below function which dynamically allocates space to a 3d array of doubles, initializes all values to 0, and returns
    8·1 answer
  • Write a method that accepts a string as an argument and returns a sorted string. For example, sort("acb") returns abc. Write a t
    6·1 answer
  • Which of the following would most likely be the target audience for a product
    7·2 answers
  • If cost of 1 kg sugar is 36 find price of 3 kg sugar​
    8·1 answer
  • Give short answers.
    14·1 answer
  • Outline the steps for logging into E-mail account​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!