What is wrong with the following code? publicstatic char grade(int score) { if (score >= 9) { return 'A'; } else if (score >= 8) { return 'B'; } else if (score >= 6) { return 'C'; } else if (score > 4) { return 'D'; } else if (score < 4) { return 'F'; } }

Answers

Answer 1

Answer:

c) No return statement for all possible logic paths


Related Questions

Range is an example of a ______________.
PLZ help!!!

Answers

Answer:

Function

Explanation:

In python, they use this word a lot.

The function in Python is an example of just one. Whenever called, the reach function accepts one argument. This range function accepts up to 3 arguments, but at least one must be specified when this is invoked.

It provides a process called range(). It returns a series of numbers that starts at zero and increments by one by default, stopping before the defined set.This function is most commonly used to iterate sequence types (Python range () list, string, and so on) using for and while loops.In the for loop, one of the most common uses of the range () method is to iterate through a series of variables.

Therefore, the final answer is "Function".

Learn more:

brainly.com/question/22291227

People’s personal information is collected _____. Select 4 options.

A. in order to learn how to enhance their privacy.
B. so that organizations can make predictions about people.
C. so that governments can make decisions about policing.
D. so that organizations can market more effectively.
E. in order to learn more about the way they behave.

Answers

Answer: I think the answer is A),B),C),D)

Explanation: I hope this helps,please let me know :)

Answer:

A, B, C, and E

Explanation:

correct of edge 2022

wap to sore two different variable a and b resoectively. Calculate sum

Answers

Answer:

Input : x = 10, y = 20;

Output : x = 20, y = 10

Input : x = 200, y = 100

Output : x = 100, y = 200

Explanation:

Pls give ME A BRAINLAIST

Designing a video game takes tons of creativity. What inspires your personal creativity and ideas for video games? Explain and give several specific examples. How do you make sure your ideas are original and not copied directly from other video games? Explain.
Explain how the four game mechanics mentioned in the unit (reward, risk/loss, levels, and feedback) could work together to create an interesting sports video game.
You’ve learned that video games use rewards to keep players coming back for more. Can you think of an example in real life that uses rewards to keep people coming back for more? How is this similar to video game rewards? Explain.
The unit says this about levels: “As the levels get harder, the environment might also change, the music might get more intense, and the colors might change shades for a completely different mood.”
Imagine that you are working on a game, and with each level that they progress to, the player encounters a greater risk to their health and life. How would you alter the music, colors, and other aspects of the environment to reflect this risk? Describe and explain. Why do you feel these environment choices and changes reflect increasing risk?
When designing a video game, it is important to make sure that the game offers a balance of risk and reward to keep your players challenged but not frustrate them so much that they do not want to continue playing. How would you assess and test your game before completing it to ensure that you had the right balance of risk/reward? Is there any way to know that you have achieved that balance for every player?

PLZZZ HELP 50 POINTS AND BLAINLEST

Answers

Answer:

This is what I have so far

Designing a video game takes tons of creativity. What inspires your personal creativity and ideas for video games? Explain and give several specific examples. How do you make sure your ideas are original and not copied directly from other video games? Explain.

What inspires my personal creativity is all the indie games I have played in the past, and they have always amazed me with their design, video games have always been a part of me from the Mario games I played when I was little to AAA titles. My ideas are original because I’ve seen so much, that I know when something is unique and original.

Explain how the four-game mechanics mentioned in the unit (reward, risk/loss, levels, and feedback) could work together to create an interesting sports video game.

Every 10 levels is a new sport and each level is harder, but at the end of each level you earn money to buy better gear, (like a system from simple rpg,) but if you lose, you also lose money. Also, you would need to use feedback that you would get from players to improve the game.

You’ve learned that video games use rewards to keep players coming back for more. Can you think of an example in real life that uses rewards to keep people coming back for more? How is this similar to video game rewards? Explain.

When a person works 1 job for many years, they may get burnt out, but if they get a raise or a promotion every once and awhile, then they will be more motivated and come back for more. This is similar to games in a few ways, like if you play a single game for years, it will get boring, but if that game receives an update, then it will motivate people to play.

Carlos had 194 seeds and 11 flower pots he put the same number of seeds in each flower pot which is the best estimate for the number of seeds in each flower pot

Answers

Answer: in solution.

Explanation:

It is basically 194 divided by 11 since we are evenly grouping 194 seeds into 11 pots. This gives 17.636363…

This means that the best estimate is around that number.

describe how you would open a new open word processing document

Answers

Answer:

open the program by clicking on the icon or finding it in your program. Once you have opened it you can either use the blank page that has opened or you can go to the file tab and click new word document or new document.

Explanation:

What is the name of the file manager in Microsoft Windows?
The file manager used in Microsoft Windows is

Answers

Answer:

The File Explorer. Hope this helped! <3

Explanation:

please tell me the answer a.1111+1011. b. 10111+11111 c. 1111*1011 d. 1110*1101 perform the binary calculations.​pleaseeeeeee​

Answers

Answer:

c.111*1011

Explanation:

because this is the perform fissionable or the binary calculations

mark me brainliest please

Answer:

[tex]11010[/tex]

Explanation:

Number 1 in the decimal system

[tex]1111^2 = 1510[/tex]

Number 2 in the decimal system

[tex]1011^2 = 1110[/tex]

Their sum

[tex]15 + 11 = 26[/tex]

Result in binary form

[tex]26 {}^{10} = {1101}^{2} [/tex]

2. YOU CANNOT IGNORE A SUGGESTION GIVEN BY WORD TO SAY YOU SHOULD CORRECT A SPELLING ERROR. *

True
False

Answers

Answer:

False

Explanation:

If you spell a word that Microsoft Word doesn't recognize, you can always click the little opened book icon (the spelling check book will appear with either an x or a check mark) at the bottom left hand-corner, and you have the option to ignore the misspelled word.

Hope this helped :)

If it didn't, then I'm sorry

how to play powerpoint slides automatically without clicking 2021?

Answers

Answer:

Turn on autoplay it is at the bottom of the screen

Explanation: Press the 3 dots at the bottom of the screen. Then click autuplay.

Also set the amount of seconds.

what corporation created what is now the most widely-used computer operating system in the world?

Answers

Answer: Microsoft windows

Explanation: Microsoft Windows is likely the most well-known and common computer operating system in the world today. It was developed by Bill Gates’ Microsoft Corporation and can run on a number of different platforms, particularly on PCs or Personal Computers.

What is 11100111 to decimal form?

Answers

Answer:

231

Explanation:

Answer 111001.11
Work
11100111/100= 111001.11

njbuhbgtgyuhjkhghghvgbtyujhnhbvgvfgtyujhnhbgfrtrythg

Answers

Answer:

odkgxxkxhfohxgichocohct8xiycohx8tx8ychichicjoviyxycohvi

Explanation:

brainlylist please

GDHUEBJEHSHWJ. JEHSHEHNSJQKHXUEBDJNWBXUEBDHIEHDHEHDJWJSKKAHAHFHEUXHEJJAGAGGAIKHAHAHHDJEINZ, Huehshsjnsksob…Gdhdhbsjs

Pasta is best if cooked and served immediately. What do you need to
do to follow this golden rule in presenting pasta dishes?

Answers

sprinkle a little bit of cheese on there, maybe add a few meatballs.

Develop an algorithm to print the names of the candidates who should receive a refund. A refund is due if the candidate's votes received equals or exceeds 20 per cent of the votes cast in the constituency. The algorithm should also determine and print the number of candidates who received a refund. Test the algorithm with data from ten candidates. The algorithm must accept as input the names of the candidates, votes received and the votes cast in the constituency. The algorithm should print the name of the candidate and the words "Refund Due" or "No Refund" and the number of candidates who received a refund.​

Answers

Answer: start

input candidate name, votes received and vote cast

if count =number of candidate who re

Explanation:

in word 2010, the document information panel has been moved to the ______.

Answers

In word 2010, the document information panel has been moved to the File tab.

Microsoft Word is a word-processing program that is used for creating documents.

The steps taken to locate the document information panel is:

Open a new document in Word 2010. Click on the File tab located at the top-left corner of the window. Click on Properties and then click the Show Document Panel

In word 2010, the document information panel has been moved to the File tab.

Find out more at: https://brainly.com/question/17241854

which item is developed last in the cyclical design process

Answers

The item that is developed last in the cyclical design process is known to be Prototype.

What is the last step in the design process?

Designers which can be known to be evaluators are said to test the complete product using the best solutions known to be in the Prototype stage.

Note that The item that is developed last in the cyclical design process is known to be Prototype.

Learn more about  design process from

https://brainly.com/question/10039920

#SPJ1

Over the past week, every time Larry has started his computer, he has noticed that the time is not correct. Larry didn't consider this a problem because his computer was working properly. However, now Larry has decided that he should investigate why the time is not accurate. What can you tell Larry to check to find out why the clock does not keep the right time?

Answers

Answer + Explanation:

You can tell Larry to set his device's location on 'enabled' at all times. That way, you get the time zone too. For example. if you live in the US, and your Location is not enabled, then the device may think that you are in China, or where the device was last at.

which cyber protection condition establishes a protection priority focus on critical and essential functions only

Answers

INFOCON 1 is the cyber protection condition establishes a protection priority focus on critical and essential functions only.

INFOCON 1 describes the threat level system (defense system) that is used to defend against military attacks and is based fundamentally on the status of information systems i.e. on essential and critical functions of the system.

There are often five levels of INFOCON with INFOCON 1 being an acronym for "information operations condition 1" and is used in the United States of America and is carried out on attacks that were successful and could impact the missions of the Department of Defence and as such is only needed on occasions of extreme cyber risks.

In addition, INFOCON 1 describes the Computer Network Defense system at maximum alertness and any compromised systems in the network are completely isolated from the rest of the network to avoid further damage.

Learn more about cyber protection here: https://brainly.com/question/25157787?referrer=searchResults

 

1.
Which of the following is a soft skill?
1 entering a customer order
2 teamwork
3 driving a forklift
4 repairing an engine

Answers

1 it is 1 I had a question just like this it 1
Out of the options listed, Teamwork is the correct answer. Soft skills are core skills, and examples are Teamwork, Critical thinking, professional writing and many more. The answer is 2. I might be wrong but I'm pretty sure #2 is correct.

hãy mô tả thuật toán cho bài toán sau: Cho N và dãy a1, a2,.. an. Hãy cho biết số âm trong dãy số đó.

Answers

Answer:

I can't understand you lol your so mudafaka

An object on the computer use to store data, information and settings is known as?​

Answers

Answer:

Hard disk maybe.......

50 POINTS!!!!!!!!!!!!!!!!!!!!1
Which of the following statements about translating content are true? Select 3 options.

A. Using a translation app or plug-in is often the best choice for those on a budget.

B. Translating content is the only activity required to localize your application.

C. In almost all circumstances, it is best to have a person translate your content.

D. Components that should be translated include license agreements, notifications, and alternative text for images.

E. Unicode allows for automatic translation through the use of standard codes for each character.

Answers

Answer:

A, C, and E

A. Unicode allows for automatic translation through the use of standard codes for each character.

C. In almost all circumstances, it is best to have a person translate your content.

E. Components that should be translated include license agreements, notifications, and alternative text for images.

Explanation:

I tried your answer but it was wrong. This was the answer that came up instead.

The statements which are true about translating content are as follows:

Using a translation app or plug-in is often the best choice for those on a budget.In almost all circumstances, it is best to have a person translate your content.Unicode allows for automatic translation through the use of standard codes for each character.

Thus, the correct options for this question are A, C, and E.

What do you mean by Content translation?

The Content translation may be defined as the methodology of modifying existing contents that are considerably designed in order to attract, engage, and retain a particular audience.

Examples of the content translation may include blog posts, white papers, videos, podcasts, newsletters, social posts, etc. These content translations are generally done in order to make the audience understandable and be satisfied with the information that was earlier written in a very complicated form.

Therefore, the correct options for this question are A, C, and E.

To learn more about translation, refer to the link:

https://brainly.com/question/14480244

#SPJ2

Where do you see script fonts? Where do you see Display or Ornamental fonts?

Answers

Answer:

Script typefaces are based upon the varied and often fluid stroke created by handwriting. They are generally used for display or trade printing, rather than for extended body text in the Latin alphabet. Some Greek alphabet typefaces, especially historically, have been a closer simulation of handwriting.

Explanation:

What type of software repairs or improves a larger application that is already installed on a system?
O spreadsheet
O mapping
O patch
O anti-virus

Answers

Answer:

Mapping

Explanation:

Hope it helps you

The headgear shown in the video is used to combine 3-D models with real-time information visualized through the helmet. For which type of jobsite is this technology commonly used?

Answers

Headgears such as the daqri smart helmet leverage the capability of the mixed reality to produce smart helmets which provides sleek real-time interactivity commonly isde in construction sites.

Mixed reality technology integrated the capability virtual reality to produce 3D images, which is coupled with the ability to interact with the real world.

The helmet allows engineers to picture the intended design and interact with the environment while maintaing and adhering to safety protocols.

Learn more : https://brainly.com/question/25273027

consider a system for temperature measurement consisting of an integrated temperature sensor (electronic component sensitive to temperature) and an amplifier of the voltage signal produced by the sensor. the sensor has a voltage output and linear characteristic between -10 degrees and 20 degrees; at 0 degrees it is 1 v and increases by 0.1 v for each degree of temperature. it is required to determine the mathematical relationship that links the system output (represented by the amplified voltage) to the input (represented by the temperature of the environment in which the sensor is immersed) and to represent this relationship by means of a graph.

Answers

Answer:

ZOO WEE MAMA

Explanation:

ZOO WEE MAMA

What are megapixels?
A. the size of an image captured by a camera
B. giant pixels inside the camera
C. a computer store
D. a video game played in a camera

Answers

Answer:

A.

Explanation:

A. It's the total number of pixels in an image obtained by multiplying the dimensions (height times width). For large images, this multiplication can be in the millions (=mega), hence the term mega pixels.

what does the term attenuation mean in data communication?

Answers

Simple Answer: Loss of signal strength

Information: Attenuation is the loss of signal strength in networking cables or connections

Program to count how many even and odd number are in the range from M to N using C++ programming language

Answers

Answer:

#include<stdio.h>

#include <iostream>

using namespace std;

 

int main(){

   int number, min, max;

   cout << "Enter the minimum range: ";

   cin >> min;

  cout << "Enter the maximum range: ";

   cin >> max;

   cout << "Odd numbers in given range are: ";

   for(number = min; number <= max; number++)

        if(number % 2 !=0)

            cout << number<< " ";

   cout<< "Even numbers in given range are: ";

   for(number = min; number <= max; number++)

        if(number % 2 ==0)

            cout << number << " ";

 

   return 0;

}

Explanation:

First of all, we take declare two variables. one as the lowest number of the range and the other as the upper limit of the range (in this case: min and max). We declare another variable (number) and store in it the lowest number of the range (min). To check whether the number currently stored as the value of the variable (number) is even, we take in account the remainder of that number divided by 2. If the remainder does not equals 0, we print that number as odd. We again check the remainder by dividing the number by 2. If the remainder does equals 0, we print that number as even.

Other Questions
What legislations govern social drungs and medicines? the cats name is storm she has 2 extra toes on both of her front paws i am a 2 digit number i am a less than 8+8 i am more than 6+6 i am even who am i? For the reaction 2Fe + O2 2FeO, how many grams of iron oxide are produced from 42.4 mol of iron? HHHHHHHHHHHHHHHHHHHHHHDHHSHEFIINFNHUEHUUNDKJEKIWRU4GEF4BLWIEHFRBEHFUWEYHFWEIUFHWYE If f(x) is a linear function, what is the value of n?-4f(x)1-25-10-1n20 249 1. What was the goal of the women's suffrage movement?to end the suffering of mill workersto free enslaved African womento get women the right to voteto prohibit the use of alcohol A fisherman notices that wave crests pass the bow of his anchored boat every 3.0 s. He measures the distance between two crests to be 7.0 m. How fast are the waves traveling? Caleb wants to rent a kayak. Kayak rentals cost $70.58 for a half hour. If Caleb rents a kayak for 5.0 hours, how much will it cost him? Solve f(x) >0 F(x)= (x-1)(x+3)^2 Xavier, Yosef & Zeke are three brothers. All together they can do 56 push-ups in 3 minutes. Xavier does as many as Yosef and Zeke combined. Zeke does two less than half as many as Yosef does. How many push-ups does Yosef do?A. 12B. 28C. 8D. 6E. 20 What helped cause the Mexican Revolution? Select ALL that apply. A. Mexican citizens living in poverty B. the country being a dictatorship for more than 30 years C. railroads and factories being owned by investors within Mexico D. Mexico becoming less industrialized To reduce the pressure in the fuel line the forklift operator should in which african country can you find this red dune desert? What is the connotation of the movie Forrest Gump? helpppppppppppppppppppp Using the standardized NaOH solution in the previousquestion, the titration of 5.00 mL of vinegar required42.25 mL of NaOH. What is the % of acetic acid in thevinegar? Previous standardized NaOH solution = 0.098 A 3.90 L sealed vessel under vacuum is filled with 6.40 g of fluorine gas. What is the pressure (in kPa) of the vessel at 25.0 C ? estaba previsto destinar 3/14 de partes de una finca a plazas de aparcamiento pero finalmente han destinado 3/4 de lo previsto a zonas ajardinadas que fraccion de la finca se ha destinado a plazas de aparcamiento hacer una historia sobre corriendo con 10 verbos en pasado y subrayar los verbos por favor ayuda