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
Tems11 [23]
3 years ago
15

Populate a one-dimensional array with the following grades in this order: 90, 61, 74, 42, 83, 51, 71, 83, 98, 87, 94, 68, 44, an

d 66. Use a loop to call a method from main() that adds 15 points to all student grades that are a C or above. A C is defined as a score of 70 or above. Make this happen by passing the subscript value and not the entire array. The addition of the 15 points should happen in the method and be passed back to main. Use a loop to show final values within the array. The final array values should show the new adjusted grades.
Computers and Technology
1 answer:
yawa3891 [41]3 years ago
7 0

Answer:

#include <iostream>

using namespace std;

void func(int&num)

{

if(num>=70)

num+=15;

}

int main()

{

int arr[]={90, 61, 74, 42, 83, 51, 71, 83, 98, 87, 94, 68, 44, 66};

for(int i=0;i<14;i++)

{

func(arr[i]);

}

cout<<"Adjusted scores are: ";

for(int i=0;i<14;i++)

{

cout<<arr[i]<<" ";

}

cout<<endl;

return 0;

}

Explanation:

Our program is a one-dimensional array with the following grades in this order: 90, 61, 74, 42, 83, 51, 71, 83, 98, 87, 94, 68, 44, and 66.

It made use of loop to call a method from main() that adds 15 points to all student grades that are a C or above. A C is defined as a score of 70 or above.

It further uses a loop to show final values within the array. The final array values show the new adjusted grades.

You might be interested in
Please helpppppppppppppp
viktelen [127]

Answer:

its D

Explanation:

The social worker likes to work with other people, so he/she might not like working alone.

6 0
2 years ago
The role of Operating system<br><br>​
Fudgin [204]

the role of an os or operating system is the program that executes everything and makes the computer usable hope this helps

5 0
3 years ago
6
Mama L [17]

Answer:

=IF(D3>50; E3; F3) and =IF(A1>60;"Pass";"Fail") are valid IF formulas.

Explanation:

P.S - The exact question is -

To find - Select the correct answer from each drop-down menu. Which IF formulas are valid? _____ and _____ are valid IF formulas.

FIRST BLANK

=IF(D3>50; E3; F3)

=IF(D3>50);( E3; F3)

=IF(10<5;23);("Incorrect")

SECOND BLANK

=IF(A1>60;"Pass";"Fail")

=IF(A1>60); ("Pass"; "Fail")

=IF(A1>60; ("Pass"; "Fail"))

Solution -

An IF structure is built following this pattern:

IF(TEST;IF TRUE;IF FALSE)

So,

The correct option is -

=IF(D3>50; E3; F3) and =IF(A1>60;"Pass";"Fail") are valid IF formulas.

7 0
3 years ago
In the context of IT jobs in the information systems field. A ____ is responsible for database design and implementation
Yuri [45]

Answer: Database Administrator.

A Database Administrator is responsible for any design and implementation of a database in a system. They are also the people who make sure that they can secure and manage all the data in their system to avoid any problems that may occur during its usage.

They also are responsible for keeping track of changes and the accessibility of the users that will be inputting data into the database. This most especially applies to databases that are meant to keep client information and transactions for most companies.

8 0
3 years ago
Read 2 more answers
An engineer is designing an HTML page and wants to specify a title for the browser tab to display, along with some meta data on
Nady [450]

An HTML is made up of several individual tags and elements such as the head, body. form, frame and many more.

In an HTML page, the meta element and the title element are placed in the head element.

An illustration is as follows:

<em>< head > </em>

<em>< title > My Title < /title ></em>

<em>  < meta charset="UTF-8" > </em>

<em>< / head ></em>

<em />

The head element contains quite a number of elements and tags; some of them are:

  • meta
  • title
  • style
  • script
  • base

And so on.

Hence, in order to use a meta-data element, the meta element has to be placed within the head element.

Read more about HTML elements at:

brainly.com/question/4484498

5 0
3 years ago
Other questions:
  • Can Any body Define what is search engine in a simple language quick please​
    14·1 answer
  • (Complete the Problem-Solving discussion in Word for Programming Challenge 2 on page 404. Your Problem-Solving discussion should
    13·1 answer
  • What answer best explains why improper netiquette is considered dangerous? Individuals who violate user policies are often charg
    14·2 answers
  • Which type of optical scanner works in a manner similar to a copy machine?
    15·1 answer
  • sqrt is being defined as a variable name, how do I get its math function to... well... function? (Python)
    11·1 answer
  • Which method is used for resolving data dependency conflict by the compiler itself?
    6·1 answer
  • Can I ask a computer question based on engineering?
    8·1 answer
  • In which situation is coauthoring of presentations primarily utilized?
    13·2 answers
  • A slide titled Alexander Graham Bell. There are 6 bulleted entries on the slide, and there is a lot of text on the slide. There
    11·2 answers
  • A group of two or more computer systems linked together via communication devices is called:.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!