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
expeople1 [14]
3 years ago
15

How do you do 3.4.5 Add parentheses for code hs? I need answers please

Computers and Technology
2 answers:
stich3 [128]3 years ago
7 0
I don’t know but i hope someone gives u the answer
My name is Ann [436]3 years ago
4 0

Answer:

add a parenthesis before 4 and after 8

Explanation:

It should look like this

print(2 + 3 * (4 + 8))

4+8 equals 12 and then multiply that by 3 which gives 36 then add 2 which is 38.

You might be interested in
Which type of element is , and what is the meaning of that element?
Korvikt [17]
Black #1 I wanna say
5 0
3 years ago
A professional-looking portfolio gives a clear message. What does it convey?
Akimi4 [234]

Answer:a

Explanation:

8 0
3 years ago
What does it mean? It teaches kids to play instruments.
Nady [450]
Something that teaches children to play instruments so like 'it' could be a teacher that teaches kids instruments?
8 0
3 years ago
Read 2 more answers
Write the following C function and main function;
Rina8888 [55]

Answer:

The program to this question can be given as:

Program:

#include <stdio.h> //include header files.

#include <limits.h>

//declaration of function

void find_three_smallest(int a[], int n, int *small, int *second_smallest, int *third_smallest);

//definitation of function

void find_three_smallest(int a[], int n, int *smallest, int *second_smallest, int *third_smallest)

{//function body.

int i, first_number, second_number, third_number;       //define variable.

// There should atleast be three values

if (n < 3)       //check condition.

{

printf(" Invalid Input ");      //print message.

return;

}

first_number = second_number = third_number = INT_MAX;

for (i = 0; i < n ; i ++)    //Using loop  

{

//conditional statements.

// If current element is smaller than first then update all

if (a[i] < first_number)            

{

third_number = second_number;

second_number = first_number;

first_number = a[i];

}

else if (a[i] < second_number )

{

third_number = second_number;

second_number = a[i];

}

else if (a[i] < third_number )

{

third_number = a[i];

}

}

//print values.

printf("The smallest value =%i\n",first_number);

printf("Second_smallest value =%i\n",second_number);

printf("Third_smallest value =%i\n",third_number);    

}

//main method

int main()

{

int num, small, second_small, third_small; //define variable.

int x[6] = {1,3,4,5,1,2};         //define 1-D array.

num = sizeof(x)/sizeof(x[0]);  

find_three_smallest(x,num ,&small, &second_small, &third_small);       //calling function.

return 0;

}

Output:

The smallest value = 1

Second_smallest value = 1

Third_smallest value = 2

Explanation:

In the above C language program firstly we declare a function that's name is already given in the question.  

In this function we define the variable that takes all value from the main function and checks that the given values(numbers) are greater then 3. if the value is greater then 3 functions arranged values and finds the smallest, second smallest and third smallest value and print it. In the main function, we define a 1_D array. In that array, we assign the value and pass the value to the function. In the next line, we calling the function.  

8 0
3 years ago
Why might a scientist chose to do fieldwork instead of a laboratory experiment?
Marina CMI [18]
 In a a fieldwork experiment the scientist experimentally examines an intervention in the real world. A scientist might choose a fieldwork instead of laboratory experiment in order to answer for example some <span>behavioral questions. Often  the best observations are made in the field.</span>
<span>A field experiment is more suitable for investigating a wider range of factors affecting the overall result.</span>

3 0
4 years ago
Other questions:
  • Which of the following qualifies as a teamwork skill? A. Free associating B. Multitasking C. Listening D. Problem solving
    6·1 answer
  • Why was the term personal computer created?
    5·1 answer
  • The _________keys include the home, end, and arrow keys.
    13·1 answer
  • What are some of the academic benefits of a later start time that Jordan mentions​
    12·1 answer
  • What are all the folders located on the DOCK called?
    11·1 answer
  • 3k means about 3 thousand bytes. how would you express two hundred million bytes? .
    8·1 answer
  • Help pls Do you think the current video game industry is likely to experience another ""crash"" (similar to the one in the 1980s
    13·1 answer
  • Given the 32-bit binary number:
    13·1 answer
  • Your manager has asked you to write a program that displays the percentage of males and female in your class. The program should
    7·1 answer
  • Which of the following is an example of effective nonverbal communication?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!