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
agasfer [191]
3 years ago
15

A numeric test score is to be converted to a letter grade of A, B, or C according to the following rules: A score greater than 9

0 is considered an A; a score between 80 and 90, inclusive, is considered a B; and any other score is considered a C. What code segments will assign the correct letter grade to grade based on the value of the variable score?
Computers and Technology
1 answer:
arlik [135]3 years ago
7 0

The code segment makes use of conditional statements.

Conditional statements in programming are used to make decisions

The code segment in C++ is as follows

if (score > 90) {

grade = 'A';

}

else if (score >= 80 && score < =90) {

grade = 'B';

}

else {

grade = 'C';

}

The above code segments take the score, make comparison, and then determine the appropriate letter grade.

Read more about code segments at:

brainly.com/question/20475581

You might be interested in
Running the disk cleanup utility is a quick way to ________.
Likurg_2 [28]
Clear out unnecessary files, for example caches, caches are a collection of items of the same type stored in a hidden or inaccessible place.
8 0
3 years ago
open your browser and enter the address of this ftp site in the address box: ftp.cengage. if your browser supports ftp, a logon
Licemer1 [7]

FTP access is available from other companies, but access is constrained unless the user first authenticates by supplying a user name and potentially a password.

The files are frequently intended for specific uses rather than for public release. For instance, you must send a letter house your consumer address list. Both businesses would not want the public to have access to these materials in this situation. Software is a collection of instructions, data, or computer programs that are used to run machines and carry out particular activities. It is the antithesis of hardware, which refers to a computer's external components. A device's running programs, scripts, and applications are collectively referred to as "software" in this context. Software refers to the processes and programs that enable a computer or other electrical device to function.

Learn more about software here-

brainly.com/question/985406

#SPJ4

7 0
1 year ago
Match the ernerging technologies to their descriptions.
Talja [164]

Answer:

1

1

Explanation:

5 0
3 years ago
A local area network is: a large central network that connects other networks in a distance spanning exactly 5 miles. a group of
igomit [66]

The correct answer is a group of personal computers located in the same general area and connected by a common cable.

8 0
3 years ago
Software that manages and supports the resources of a computer is known as?
irakobra [83]
The answer to this question is

<span>Systems software are programs that manage the resources of the computer system and simplify applications programming. They include software such as the operating system, database management systems, networking software, translators, and software utilities.


If you taken a computer course, it tells you this information.

Hope This Helps!
:D
</span>
3 0
3 years ago
Other questions:
  • Write a method so that the main() code below can be replaced by the simpler code that calls method mphAndMinutesToMiles(). Origi
    6·2 answers
  • The signal for a turn should be made at least ______ feet before yo wish to make the turn
    8·1 answer
  • What are the basic problem that my pc can have?
    14·1 answer
  • Hamish has created a website with an online booking system for his salon appointments. He wants to engage more with his customer
    11·1 answer
  • While typing out his assignment henry makes use of leading. What could be the probable reason for him to do so.
    9·2 answers
  • You are working with a worksheet on which cell B3 is selected. You hold down the Ctrl key and the Shift key and click cell B6. W
    7·1 answer
  • Why do we need to measure the amperage of an electric current?​
    13·1 answer
  • What is the genetic material that organisms pass on to their offspring when they reproduce?
    11·1 answer
  • Evaluate means having a preference for one thing over another in a way that's unfair.
    5·1 answer
  • Please help me I am crying because I don't know
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!