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:
https://brainly.com/question/20475581
II and III
Explanation:If it is the test i think it is
I is incorrect because it is saying that automatically it is set as C but if the score is over 90 then you get an A if it's anything else then it's a B. This is false because then your outcome will never be C. It would only be A or B.
II is correct because it starts off by saying that if the score is greater than 90 then you'll get an A if else then if your score is equal to or greater or equal to than 80 then you get B and then if anything else then it's a C. This incoorporates everything.
III is also true because it start off by saying if anything is below an 80 then you automatically get a C. If it's anything over than 80 then if it's equal to or less than 90 then you get a b and if it's anything else then you get an A. This also checks out which means it's true.
So the answer is II and III
PA theme is a major message that a writer convoys through a text. you have explored many themes in the hobbit one theme in the novel is that good has the ability to triumph over evil. using specific examples from the text, explain how this theme develops over the course of the novel
Answer:
The Hobbit’s main theme is Bilbo’s development into a hero, which more broadly represents the development of a common person into a hero. At the beginning of the story, Bilbo is timid, comfortable, and complacent in his secure little hole at Bag End. When Gandalf talks him into embarking on the quest with Thorin’s dwarves, Bilbo becomes so frightened that he faints. But as the novel progresses, Bilbo prevails in the face of danger and adversity, justifying Gandalf’s early claim that there is more to the little hobbit than meets the eye.??????
Explanation:
If your company uses a non-price competition strategy what should you focus on
A. lowering prices
B. differentiation
C. creating direct competitors
D. the public sector
B- differentiation
nonprice competition strategy refers to strategy to win a business competition that does not involved lowering price of the product.
Businesses mostly do this using differentiation strategy, which is increasing the different variety of product that they sell in the market.
Which line of code will allow the user to enter their current temperature to the nearest tenth of a degree?Group of answer choicesnum1 = input(""What is your temperature?"")num1 = int(input(""What is your temperature?"")num1 =float(input(""What is your temperature?""))1num = print(""What is your temperature?)
In programming we have different data types and in this question two data types was specified, Int and float, the only data type that can receive input to the nearest tenth of degree is float, hence, float(input(""What is your temperature?""))
Data types are use as place holders, we have the primitive and non-primitive data types
Example of data types are FloatArrayIntegerDoubleStringLearn more about data types at
https://brainly.com/question/179886
Write a 20 charecter poem! for points! :)
you are wonderful as you are blue you are as blue as the sky the sky is beautiful as u are too you are red as Rose's and Rose's are full of you winter time is the mood full of winter and snow
Which of the following is true regarding computer science careers? There are a limited number of jobs in this field. There are not different job types in this field. The number will increase over the next several years. You must be a programmer to work in this field.
Answer: There are several types of jobs in this field
Explanation: i did the test
The practice of applying technology to address difficult organizational issues is known as computer science. Thus, option D is correct.
What is the carrier in the computer science?Computers and technology have been incorporated into almost every economic sector, industry, and even organization operating in the modern economy, which is why this field is so crucial.
Because it allows me to pursue my two interests in problem-solving and creating engaging experiences, computer science is my field of choice.
I can come up with problems that are unique to a user, create and brainstorm solutions, and then put those ideas into practice through coding.
Computer scientists build, develop, and improve supply chains, content algorithms, and even job application platforms. We are already living in the age of computer science.
As technology grows increasingly pervasive in our lives and the economy, computer science becomes more crucial.
Learn more about computer science here:
https://brainly.com/question/20837448
#SPJ2
When a number gets assigned to a variable that already has a value __________. the new number overwrites the previous value at that memory location the new number gets assigned to a neighboring memory location the computer issues an error the new value is destroyed and the old value remains
Answer: the new number overwrites the previous value at that memory location
Explanation:
When a number gets assigned to a variable that already has a value, the new number overwrites the previous value at that memory location. The correct option is A.
What is assigning value?To "assign" a variable is to symbolically link a specific piece of data to a name. Any operations performed on this "name" (or variable) must be true for all possible values.
The assignment operator is the equals sign, which should never be used for equality, and should never be followed by the double equals sign.
To assign a value to a variable, use the simple assignment operator. The assigned value is evaluated by the assignment operation.
It is possible to chain the assignment operator to assign a single value to multiple variables.
When a variable receives a new value, the previous value is overwritten.
Thus, the correct option is A.
For more details regarding assigning value, visit:
https://brainly.com/question/28587274
#SPJ2
a network consisting of nodes covering a small geographic area is a
Answer:
that is a Local Area Network (LAN)
create a parameter query where the user will enter a value to use as the criterion
Need Some Photography help
define the term malicious program
what is a copy of a theme with different color schemes called?
Answer:
A copy of a theme with different color schemes is called a Variant
Explanation:
Which of the following is a responsibility of CTSO membership?
getting all As in your classes
traveling to a national conference
conducting yourself appropriately and professionally
getting a job in your career field after graduation
Answer:conducting yourself appropriately and professionally
Explanation:
2021 edg
9. Which of the following is a disadvantage of cloud storage? * Accessibility (offline/without internet) Reduction of storage cost to organization, Increased possibility for disaster recovery, Efficient management of stored Data
Answer:
Accessibility offline
Explanation:
to find detailed information about the origin of an email message, look at the ________________.
Answer: header
Explanation:
When you first purchase a notebook, make sure you have a ____ CD containing the installed OS so you can recover from a failed hard drive.
When you first purchase a notebook, make sure you have a RECOVERY CD. It enables the restoration of the notebook computer.
A recovery disc is a disc that enables to restore the computer to the same condition when it was bought.
Moreover, a recovery drive refers to a separate partition in the notebook that must contain the required files to restore the device if the system becomes unstable.
A recovery disc can be considered as a drive used to keep a backup of the files (e.g., images) and other types of restoration data.
Learn more about recovery disc here:
https://brainly.com/question/14217813
1. What is the difference between a columnn and a row?
2. How many rows are being used?
3. How many columns are being used? rows?
3. Who got the highest grade on Quiz 1? What is its cell reference?
5. What is the range of cell of all the names of the students?
Lenovo Diagnostics - UEFI Version is preloaded into the BIOS on all Lenovo products except for ____________________.
Based on the information given, it can be noted that Lenovo Diagnostics - UEFI Version is preloaded into the BIOS of their products except the Ideapad models.
It should be noted that Lenovo diagnostic tools are used primarily to diagnose any hardware problems that a computer may have.
Lenovo diagnostic tools are available as a Bootable or a downloadable package. Lenovo Diagnostics - UEFI Version is preloaded into the BIOS of their products except for the Ideapad models.
Learn more about Lenovo on:
https://brainly.com/question/25397058
Which of these problems is correct if the numbers are binary numbers?Group of answer choices1 + 1 = 21 + 1 = 100 + 0 = 11 + 0 = 10
Answer:
The last one is correct.
Explanation:
The ________ command is one of the most commonly used command-line commands. It can be used to check IP connectivity between two network devices.
Answer:
ipconfig
Explanation:
That is the actual
command
Emily is deciding whether to buy the same designer jacket her friends have. The jacket is much more expensive than a similar one from a lesser-known brand. Which questions should she consider before she buys the jacket? Check all that apply. Is advertising influencing her? What are her motivations? Has she compared prices? Is she buying at the right time? Will her sister like the jacket too?
The questions that she should consider before she buys the jacket are:
Is advertising influencing her?What are her motivations?Has she compared prices?Is she buying at the right time?What is buying?The act of buying an item is known to be acquiring a specific possession, or ownership/ rights to the use that thing or services. This can only be done through payment that is mostly based on the use of money :
Note that before getting something, one must consider other things such as prices and the reasons for buying the item before one can go ahead to purchase that thing.
Learn more about buying from
https://brainly.com/question/25745683
What is data communication..
Hope this helps you❤!!
James works on history for 9/10 of an hour he works on English for 3/10 of an hour how much longer does James work on history than on English
A(n) ________ address is the address that external entities use when communicating with your network.
Answer:
IP adress
Explanation:
the IP adress is like your home address but for your computer. it tells the whatever is connecting where it's located so it can find where to send the data
Write a program which will -
• Enter the score the student got in the test.
• Enter the maximum number of marks for the test.
• Divide the score by the maximum to work out the percentage.
• Check to see if the percentage is greater than 52. If it is then say "well done you have at least a grade 5"
• If the percentage is less than 52 then display "Unlucky, you need to revise more for the next test."
Will give out brainliest :)
Answer:
down below
Explanation:
score = input() # gets student's score input
max = input() # gets max number
percent = (score/max)*100 # multiply by a hundred to get percentage
if percent > 52: # checks if percent is greater than 52
print("well dont you have at least a grade 5")
else # if percent is less than or equal to 52 it will print this instead
print("Unlucky, you need to revise more for the next test.")
THIS PART IS NOT CODE:
make sure you indent/tab the print statements or else you'll get an error
URGENT!! thank you!!!!!
Answer:
Robots or automatons
Explanation:
Machines that can perform tasks historically performed by humans can improve productivity (they can work non-stop) and of course the environment is safer for workers (work is done by a machine instead) but there is job loss (people who used to do the machine's work are redundant).
if a granola bar has 5.7 grams of protein in it how many centigrams of protein does it contain?
A. 57
B. 0.57
C. 570
D. 5,700
An animation of a person standing with their arms extended out to their sides. There are 3 dimensional boxes around the torso of the person showing how to create a shirt. What animation process does the photo above help you visualize? a. Morphing c. Motion capture b. Building 3 dimensional models d. Animation rendering Please select the best answer from the choices provided A B C D
Answer:
c
Explanation:
Why was slavery more common in South Carolina than in North Carolina?
Check all of the boxes that apply.
Answer:
South Carolina, more south the more farms and agriculture so more farms mean's more workers needed.
Explanation:
Question 11
Methods that return a decimal value must be declared using what type?
a. int
b. void
c. double
d. String
e. null
Question 12
Which of the following is true when x = 15?
a. (x >= 15) && (x < 13)
b. !(x > 13) || (x > 16)
c. (x > 13) && (x < 17)
d. (x < 15) || (x > 15)
e. (x <= 13) || (x >= 17)
Answer:
11. a, 12.c
Explanation:
bc numbers must be declared as ints and 15 is greater than 13 but lesser than 17
Your grandmother tells you a dollar doesn't go as far as it used to. She says the "purchasing power" of a dollar is much less than it used to be. Explain what she means. Try to use and explain terms like inflation and deflation in your answer.
Answer:
The obtaining influence of a dollar is substantially less on the grounds that more cash is made and causes the value of the dollar greenback to diminish, making things increasingly costly. This is called swelling. In any case, when less cash is made, the value of a dollar greenback increments and things turn out to be more affordable. This is called flattening. As the years go on, the purchasing power of a dollar decreases and decreases.
Hope that helps. x