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
kupik [55]
3 years ago
9

A teacher determines student percentages in a course as the points a student earns divided by the total points available in the

grading period. Points are awarded only in whole number increments, but student percentages are to be stored as decimals.
The following code segment appears in a program used to compute student percentages. Points that a student earns are stored in pointsEarned, the total points available in the grading period are stored in totalPoints, and the student percentage is stored in percentage.
int pointsEarned;
/* missing code */
Which of the following is most appropriate to replace /* missing code */ in the program?
A. int totalPoints;int percentage;
B. double totalPoints;int percentage;
C. int totalPoints;double percentage;
D. int totalPoints;boolean percentage;
E. double totalPoints;boolean percentage;
Computers and Technology
1 answer:
Ainat [17]3 years ago
8 0
I think it will be E
You might be interested in
In the story, what are the song pauses a metaphor for?
-BARSIC- [3]

Answer:

D. The need to slow down more often in life.

4 0
3 years ago
Given an array a, declared to contain 34 elements, write an expression that refers to the last element of the array.
Mice21 [21]
If the language is zero indexed:

a[ 33 ]
4 0
3 years ago
Can someone plss help me!!
REY [17]

Answer:

HTML elements are delineated by tags, written using angle brackets.

Explanation:

Tags such as <img /> and <input /> directly introduce content into the page.

8 0
3 years ago
All data process by a computer must be in 1. binary form 2. Hexadecimal form 3. Duodecimal form 4. Unitary form?
avanturin [10]

Binary code I believe.

3 0
3 years ago
Read 2 more answers
All of the following are potential benefits of blogging except
Archy [21]
The answer should be C because most bloggers sacrifice privacy for content.
8 0
3 years ago
Read 2 more answers
Other questions:
  • Discuss 2D gameplay and how new platforms such as cell phones are taking advantages of this renewed market
    5·1 answer
  • How can you keep your files organized on your computer?
    13·2 answers
  • What is your favorite food
    11·2 answers
  • ____ is the official web portal for the U.S. government, providing access to all official U.S. government services and informati
    12·1 answer
  • ______ is a type of computer software that is installed into devices such as printers, print servers, and various types of commu
    5·1 answer
  • A company has critical systems that are hosted on an end-of-life OS. To maintain operations and mitigate potential vulnerabiliti
    14·1 answer
  • When you need to cut new external threads on a bolt, which of the following tools should you use?
    9·2 answers
  • Elizabeth works for a local restaurant at the end of her shift she read she’s required to write in the time that she arrived in
    14·1 answer
  • ...................You like swamps
    13·2 answers
  • Shadow and highlight create depth (3D).<br> TRUE OR FALSE
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!