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
Nat2105 [25]
3 years ago
6

What is wrong with the following code? publicstatic char grade(int score) { if (score >= 9) { return 'A'; } else if (score &g

t;= 8) { return 'B'; } else if (score >= 6) { return 'C'; } else if (score > 4) { return 'D'; } else if (score < 4) { return 'F'; } }
Computers and Technology
1 answer:
UkoKoshka [18]3 years ago
6 0

Answer:

c) No return statement for all possible logic paths

You might be interested in
Emily created her company's first newsletter. She made sure to repeat design elements such as color schemes and
max2010maxim [7]

Answer:

Her goal was to Provide consistency

Explanation:

i dont rly have one

8 0
3 years ago
Which features you believe has improved in windows 8? And what do you believe has worsened in windows 8?
kkurt [141]
I believe the style and technology has improved since windows 8, but the speed has worsened.
7 0
3 years ago
What is the best anime that you like the most (give me 3 plz)
Dmitry [639]

Answer:

The rising of shied hero, last hope, and dragon pilot.

4 0
3 years ago
Read 2 more answers
Which of the following is NOT an example of event-driven programming?
Rainbow [258]

Answer:

The answer is A. Shaking the phone

7 0
3 years ago
An Olympic-size swimming pool is used in the Olympic Games, where the race course is 50 meters (164.0 ft) in length. "In swimmin
Sveta_85 [38]

Answer:

In Python:

def  meters_to_laps(length):

   lap = length/50

   print('{:.2f}'.format(lap))

Explanation:

This line defines the function

def  meters_to_laps(length):

This calculates the number of laps

   lap = length/50

This prints the calculated number of laps

   print('{:.2f}'.format(lap))

To call the function from main, use:

<em>meters_to_laps(150)</em>

7 0
3 years ago
Other questions:
  • Nathan notices his computer System is slowing down when he tries to copy documents to it he also gets a prompt I warned him that
    7·1 answer
  • George is only familiar with VGA connector for monitors. What should you tell him are the main differences between VGA and DVI c
    8·1 answer
  • Lin is booting up his computer, and during the boot process, the computer powers down. After several unsuccessful attempts to bo
    12·1 answer
  • DJ Davon is making a playlist for an internet radio show; he is trying to decide what 1212 songs to play and in what order they
    12·1 answer
  • Information is data converted into useful, meaningful context. What are data characteristics that change or vary over time?
    8·1 answer
  • The most common Unicode transformation formats are UTF- ______ and UTF-16.
    9·1 answer
  • Describe the difference between the circumscribed and inscribed options when using the AutoCAD Polygon command
    14·1 answer
  • 5. What skill is unique to reading online?
    14·1 answer
  • State two differences between a mouse pointer and a mouse cursor​
    10·2 answers
  • Pictures in the _____ gallery give the appearance of a physical object, such as water drops or sand, that can give your presenta
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!