Write a function that prompts the user to enter the speed of a vehicle. If speed is less than 20, display too slow; if speed is greater than 80, display too fast; otherwise, display just right

Answers

Answer 1

The code of the given problem is given below :

#include<iostream>

using namespace std;

void print( float speed ){

      if(speed < 20 )

      {

             cout<<"too slow\n";

      }

      else if(speed > 80 )

      {

             cout<<"too fast\n";

      }

      else{

             cout<<"right\n";

      }

}

int main()

{

      print( 18.6 );

      print( 45 );

      print( 100 );

      return 0;

}


Related Questions

Josh is searching for information online about the conservation status of blue jays. He enters the phrase blue jays and most of the results are about the baseball team. What can he do to get the specific results he wants?

Answers

Answer: specify the bluejay bird

Explanation:

by specifically mentioning it is birds he wants that Is the results he will get

If Josh wants to get the specific information in the context of the  conservation status of blue jays, then  in that case can add birds in the search bar along with the name of  blue jays.

What are blue jays?

Eastern North America is home to the beautiful  blue jay, a bird of prey that belongs to  the Corvidae family. It inhabits the majority of eastern and central America; some eastern populations might be migratory.

Breeding populations can be found all over southern Canada; resident populations can also be found in Newfoundland, Canada. Blue Jays are renowned for their brilliance, intricate social structures, and strong familial ties.

It is believed that their love of acorns contributed to the proliferation of oak trees following the last glacial period.

Learn more about blue jays from here:

https://brainly.com/question/3034695

#SPJ2

how do you change your snap c hat name plz?

Answers

You can’t change it!! I know it sucks:(

Answer:

You can't change your username but you can change your name.

Explanation:

Tap on the friend's name you'd like to change. Tap on the settings icon that appears next to their name off to the right. Tap on Edit Name in the popup menu. Type in the name you'd like to appear when this person communicates with you.

Which feature in Access 2016 will ensure that every foreign key in a table has a link to a primary key in another
table?

O References
O Referential Integrity
O Autocorrect
O Data Source Binding

Answers

Answer:

B

Explanation:

edge :p

HELLLLLLLLLLLLLLLLLLLLP PLSSSSSSSSSSS HELLLLLLLLLP
Which of the following is an example of a Boolean Operator?
A. HTML
B. SEO
C.
D. BUT

c is
TITLE

Answers

Answer:

HTML?

Explanation:

That looks like the best answer, correct me if I'm wrong ^^U

Write a program that takes a single integer input from the user and stores it in a variable. Your program should increase the value of this variable by one three times, printing "number is now " followed by its value each time, then decrease it by one three times, again printing "number is now " and the value each time

Answers

Answer:

Question is answered using python:

num = int(input("User Input: "))

for i in range(3):

    num = num+1

    print("Number is now "+str(num))

for i in range(3):

    num = num-1

    print("Number is now "+str(num))

Explanation:

This line prompts user for input

num = int(input("User Input: "))

The following iterates from 1 to 3

for i in range(3):

This increments user input each time

    num = num+1

This prints the value of num after increment

    print("Number is now "+str(num))

The following iterates from 1 to 3

for i in range(3):

This decrements the value of num

    num = num-1

This prints the value of num after decrement

    print("Number is now "+str(num))

How can you save without name folder in desktop ?​

Answers

Answer:

Right click on the folder and click on rename or just press F2 function button. Then just press the ALT key and type in 0160 numerically, and then let go of the ALT key. Make sure you use the numeric keys on the right side of the keyboard to type the digits. After doing this, the folder will exist without a name.

Answer:

we can save without name folder in desktop by pressing space in naming box and press enter

SOMEONE PLEASE HELP ME PLEASE!!!!!!!!

Answers

Answer:

Brainstorm and begin sketching new oven designs

The internet and intranet have many different uses.
Explain what is meant by the intranet.

Answers

Answer:

Intranet is a local or restricted communications network, especially a private network created using World Wide Web software.

Answer:

internet-The Internet is a vast network that connects computers all over the world. Through the Internet, people can share information and communicate from anywhere with an Internet connection.

Intranet- A system of computers inside an organization that makes it possible for people who work there to look at the same information and to send information to each other.

Primary functions of lighting are sufficient light to...

make things sound good
power the cameras
feed the crew
create 3 dimensional on 2 dimensional tv screens

Answers

Answer:

I would say, a guide to use for studying.

Your company decided to upgrade the older office Ethernet network and needs the fastest speed possible but has decided against fiber optic cable. What is your solution for this problem?

Answers

Answer:

10G Ethernet

Explanation:

These are the options for the question;

A) 10BASE Ethernet

B) Gigabit Ethernet

C) Fast Ethernet

D) 10G Ethernet

From the question, we are informed about instance of my company deciding to upgrade the older office Ethernet network and needs the fastest speed possible but has decided against fiber optic cable. In this case my solution for this problem is getting

10G Ethernet. Ethernet can be regarded as traditional technology that connects devices in LAN(wired local area network) as well as WAN(wide area network) which allows them to have communication with each other through a protocol, this protocol is reffered to as common network language, it also be regarded as rules. 10 Gigabit Ethernet which is a technology ofgroup of computer networking that enables transmission of Ethernet frames at high rate of 10 gigabits per second. Therefore, 10G Ethernet is the solution since we need

the fastest possible speed.

Who finds the exact web server that hosted the website by looking in a huge database of internet addresses

Answers

Answer:

The ISP - Internet service provider

Explanation:

The internet service provider ISP finds the exact web server that hosted the website by looking in a huge database of internet addresses.

An internet service provider (ISP) is a company that provides internet connection and services to individuals and organizations.

You have verified that all your wireless settings are correct. What is most likely the problem if your laptop has recently been serviced and wireless connectivity has stopped working?

Answers

Answer:

The wireless (Wi-Fi) antenna connector is not connected properly.

Explanation:

In this scenario, you have verified that all your wireless settings on your network device such as a router, access point, switch and laptop are correct. Thus, what is most likely the problem if your laptop has recently been serviced and wireless connectivity has stopped working is that, the wireless (Wi-Fi) antenna connector is not connected properly.

A wireless (Wi-Fi) antenna connector refers to a coaxial cable connector installed on a laptop so as to enable it to receive nearby radio frequency (RF) signals in order to successfully establish a network connection. Thus, when it is not installed properly, wireless connection on the laptop would not be available.

Formula for adding values of cells A9 to A15 is
Please answer fast

Answers

Answer:

This is my opinion. ^_^

You need to sum a column or row of numbers, let Excel do the math for you. Select a cell next to the numbers you want to sum, click AutoSum on the Home tab, press Enter, and you're done. When you click AutoSum, Excel automatically enters a formula (that uses the SUM function) to sum the numbers.

The formula to add the values of the cell A9 to A15 is =SUM(A9:A15)

What is a cell in excel?

Cells are the boxes that appear in the grid of an Excel worksheet such as this one. On a worksheet, each cell is identified by its reference, the column letter and row number that intersect at the cell's location.

This cell is in column D and row 5, so it is designated as cell D5. In a cell reference, the column always comes first.

The formula combines values from 9 to 15 columns or rows.

The Sum keyword is used to add any number of values together and calculate their total.

The ":" symbol indicates the range that must be added together. Another method of adding is to simply select the values to be added and then select auto sum- then sum.

Thus, =SUM(A9:A15) is the formula for adding values of cells A9 to A15.

For more details regarding excel, visit:

https://brainly.com/question/3441128

#SPJ6

SOMEONE PLEASE HELP ME FAST PLEASE!!!

Answers

Answer:

I think it the first one

Explanation:

You manage a network that uses switches. In the lobby of your building, there are three RJ45 ports connected to a switch. You want to make sure that visitors cannot plug their computers into the free network jacks and connect to the network. But employees who plug into those same jacks should be able to connect to the network. What feature should you configure

Answers

Answer:

Port authentication

Explanation:

A port authentication enables the configuration of a parameters of the ports to connect to the network. When the ports are in the Force Authorized state, only some configuration changes are possible.

In the context, I want to configure the port authentication so as to make sure that the people who visited the building and wants to plug in the switch should connect to the network and not the free networks. An d also the employees who plug in the same jack should also connect to the same network.

Which of the following types of copyright license is most appropriate if you create a graphic and would like to share it with anyone for any purpose as long as you receive credit?
A. All Rights Reserved
B. Public Domain
C. Some Rights Reserved: Attribution
D. Some Rights Reserved: Share Alike

Can someone help me out with this? Thanks!

Answers

Answer:

C is the correct answer:)

Explanation:

The most appropriate type of copyright license for the described scenario would be Some Rights Reserved: Attribution. The correct option is C.

What is copyright license?

A copyright license is a legal agreement between the copyright holder and someone who wants to use the copyrighted material.

This licence allows others to use and distribute the graphic as long as the original creator is credited. It is a type of Creative Commons licence in which some rights are granted to others while others are reserved for the original creator.

This option is ideal if you want to share your work with others while maintaining control and receiving credit for it.

Option B, Public Domain, allows anyone to use the graphic for any purpose without attribution, whereas Option D, Some Rights Reserved: Share Alike, requires others to share derivative works under the same licence terms.

Option A, All Rights Reserved, would prohibit others from using the graphic without the creator's explicit permission.

Thus, the correct option is C.

For more details regarding copyright license, visit:

https://brainly.com/question/30696317

#SPJ2

What is true about Electronic Business Cards in Outlook 2016? Check all that apply.
They are a way to share contact information with other users.
You can choose what is included on the business card.
You can create multiple electronic business cards.
They can be shared only with users in the organization.
You cannot send electronic business cards by email.

Answers

Answer:

A. B. C.

Explanation:

They are a way to share contact information with other users and You can choose what is included on the business card.

What is Electronic business cards?

Information exchange in the modern era is done through digital business cards.

Digital business cards, also referred to as virtual or electronic cards, are more interactive, economical, and environmentally friendly than traditional cards.

The ability to distribute digital business cards with anybody, everywhere is a big advantage. You can design your own digital business cards with  on a computer, an iOS device, or an Android device.

Therefore, They are a way to share contact information with other users and You can choose what is included on the business card.

To learn more about Business card, refer to the link:

https://brainly.com/question/28850206

#SPJ2

Which one of these is not an area of AI? Computer vision/image, recognition Voice recognition, Robotics, Web design

Answers

Answer:

Computer vision/image

computer vision/images

Q13. On which option do you click to
access 'Insert' and 'Delete' option ?
Formulas - cells
Ο Ο.
Page Layout - cells
Home - cells
o
All of these​

Answers

Answer:

The answer is "Home cells Or Home Tab".

Explanation:

The Excel Home Tab is also known as the home cell, it also is used to execute the standard commands like bold, highlight, copy/paste. It also uses templates in a worksheet for cells, which is used to Insert and Delete Cells, and the wrong cell can be defined as follows:

In choice Formulas cell or Tab it is used to add the formula, that's why it is wrong.On the choice page cell or Tab is used to view the data, that's why it is wrong.

What do you think are the downside of this trend if we want to secure proper information dissemination

Answers

Answer:

Information is often disseminated in order to educate, explain or promote a concept, process or principle. ... The following are considered to be the main objectives of disseminating information in the TAP. a)Promote results. TAP has to ensure a wide dissemination of its projects' results of activities.Interpretation becomes easier when the evolution and statistical trend of this indicator is ... No matter the age of the learner, one must cons. ... DOE shall disseminate to the public, in an appropriate manner, information.

in Kakegurui at the end of the what happens

Answers

Answer:

ok

Explanation:

မင်းငါ့ကိုငိုနေတာကိုမလိုချင်တဲ့လူငယ်များရဲ့ဆူနာမီကိုမကြည့်ချင်ဘူး

Answer:

me tiamo kisses me ddeee

Explanation:

Fill in the blank: PMML, PFA, and ONNX are __________________. 1 point Open standards for predictive model serialization, exchange, and deployment. Codes for getting rid of undesired data or models. Robots that are plotting to take over the planet. Passwords for some super-secret system. Abbreviations for machine learning algorithm names.

Answers

Answer:

Option A: Open standards for predictive model serialization, exchange, and deployment.

Explanation:

PMML which is also known as Predictive model markup language, is basically an open interchange format for predictive models.

ONNX which is also known as the Open Neural Network Exchange Format is simply an open format that is used to support the storing and porting of predictive models spanning across libraries and languages.

PFA which is also known as Portable format for Analytics is used to provide a platform for analytic applications to explain and exchange predictive models that are produced by analytics and also machine learning algorithms.

From the definitions of PMML, PFA, and ONNX above, we can see that they are all used for predictive model arrangement and exchange.

Thus, the correct answer is option A.

The following image is the basic syntax for a python function definition

def fuctionname( arguments ) :

statement1

statement2

statement3


A. True
b.False

LMK ASAP PLEASE

Answers

Answer:

A. True

Explanation:

You didn't post the image, but if the statements on your image are indented, the answer to this problem is A.

Answer:

This is true, the python language follows these syntax orders.

What is output? x = 10 if (x > 10): print(1) elif (x = 10): print(3) else: print(4)

Answers

Answer:

There are three logical operators: and, or, and not. The semantics (meaning) of these operators is similar to their meaning in English. For example, x > 0 and x < 10 is true only if x is greater than 0 and less than 10.

n % 2 == 0 or n % 3 == 0 is true if either of the conditions is true, that is, if the number is divisible by 2 or 3.

Finally, the not operator negates a boolean expression, so not(x > y) is true if (x > y) is false, that is, if x is less than or equal to y.

Explanation:

Order the steps for using the Rules Wizard to create an email rule.
Select the Home tab, and
click Rules button.
Click New Rule, and select Make any exceptions, and
a template.
name the rule.
Edit a description of the
rule by adding values.
Select Manage Rules and
Alerts

Answers

To use the Rules Wizard to create an email rule, you can follow these steps:

Select the Home tab and click the Rules button.Click New Rule and select a template.Edit a description of the rule by adding values and making any exceptions.Name the rule.Select Manage Rules and Alerts to save the rule.

What is the email rule about?

Below is the process in a more detailed form:

Open your email client and go to the Home tab.Click the Rules button, which is usually located in the Move section of the ribbon.In the Rules dialog box, click the New Rule button.In the Rules Wizard, choose a template that best fits your needs. You can also choose to create a custom rule by selecting "Start from a blank rule."Follow the prompts in the wizard to specify the conditions and actions for the rule. You can specify values and exceptions, such as the sender or recipient of the email, or the subject of the email.Give the rule a name and click Finish to save the rule.

Therefore, To manage your rules, click the Manage Rules & Alerts button in the Rules dialog box. From here, you can edit or delete existing rules, or create new ones.

Learn more about email rule from

https://brainly.com/question/4783467
#SPJ1

What is Identity Theft?
A criminal accessing your personal info to pretend to be you.
Someone stealing your drivers license.
Leaking personal information online.
Stealing your username for log on.

Answers

A is correct! We did this in Law!

Have a merry Christmas!

-(PROJECT: SHADOW_ACTIVATED.)-

Answers

Answer:

OH NO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Explanation:

WE'RE GONNA DIE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

(?_?)             o_O               O_o              (¯(●●)¯)

Consider a scenario in which you are trying to communicate to your parents that you should have a later curfew. Write a dialogue between you and your parent(s) detailing this conversation. Keep in mind the principles of communication.

Answers

Explanation:

In this example, the scenario will be the fact that I have started high school. I believe that because of this, my curfew should be different. This is an example of a dialogue that would discuss this

Me: I need a later curfew I have so much things to do and don't have time to do what I want , i am 16 now.

Mom: no you need to go to bed early so you can do what you need not what you want.

Me:ok ,  make you happy for now but if you don't let me now I'm going to later this will cause experiences that I have never encountered later in life that I could know about sooner but couldn't because i was restricted and when I have less common sense then everyone when I'm older it's your fault

Cheri's teacher asked her to write a program using the input() function. What will this allow her program to do?

Answers

Answer:

See explanation

Explanation:

Irrespective of the programming language, the input() function will allow Cheri's program to be able to accept user input.

Take for instance, the programming language is python, an expample of how the input function can be used is:

userinput = input("Enter a word: ")

The above instruction will allow her program to accept a string value.

The input() function can be used alongside different variable types.

Answer:

give the other guy brainliest

Explanation:

Nilsu is attempting to train a new administrative assistant on using a word processing program. Since the program is fairly complex and has many independent components (e.g., creating mail merge documents is very different from formatting a letterhead), she should:

Answers

Answer:

teach the assistant bits and pieces of the program.

Explanation:

Given that the program is fairly complex and has many independent components, the most ideal way Nilsu should train a new administrative assistant on using a word processing program is by "teaching the assistant bits and pieces of the program."

This will make the administrative assistant understand and operate the program at a gradual pace without anhthing looking confusing.

Other Questions
almost all energy comes from? If 3x + 2y = 10 and 2x + 3y = 15, find the valueof x+y. *BRAINIEST & 30 POINTS*what are the coordinates of the point on the directed line segment from (-8,8) to (7,-7) that partitions the segment into a ratio of 1 to 4? Caricatures of political figures are often used in political cartoons. Why do cartoonists use ths technique?A They probably don't know how to draw the face of the real political figure.B. It can be a powerful way to express an idea about the political figure.C It makes children want to read the cartoon.D. They would be arrested if they used the actual face of the political figure. In what season does this story take place? A).spring.B).fall.C).summer.D).winter 2. The perimeter of rectangle is 48cm. If thefiles are in the ratio 3 : 5, find the lengthof the sides In the program below, which variable has the same scope as strA?def usernameMaker (strFirst, strLast): return strFirst + strLast[0]def passwordMaker (strA, numC): if len(strA) > 4: answer = dogName[0:3] return answer + str(numC) else: return 'xk&' + str(numC) Who wrote the novel named, " The Book of Laughter and Forgetting"? Write an equation of a line perpendicular to line AB below in slope-intercept form that passes through the point (7, 6).Line AB is shown. A is at 0, 1. B is at negative 2, 5.(6 points)y = 0.5x + 2.5y = 0.5x 2.5y = 2x + 20y = 2x 20 A cooking instructor stated that 5 pounds of roast beef is needed to serve 8 people. Based on the instructor's statement, which of the following equations can be used to find r, the number of pounds of roast beef needed to serve 12 people? Can someone help me with this! Ty Part A- What is the purpose of "Marley was dead to begin with"?A)to inform the reader why Marley was not at work with Scrooge on Christmas EveB)to set a dark and somber tone of loneliness and despairC)to explain a key pointD)to be able to give flashbacks later on What is black body radiation? Explain in detail. Substitute it please!! Why did the people turn to the Roman Catholic Church forleadership and support during the Middle Ages? What is a cyclone called that generates winds of 200 kmph and rotates in a counter-clockwise movement in the Pacific Ocean?1 a typhoon in the southern hemisphere2 a hurricane3 a cyclone4 a typhoon in the northern hemisphere A U.S.-based firm is planning to make an investment in Europe. The firm estimates that the project will generate cash flows of 100,000 euros after one year. If the one-year forward exchange rate is $1.50/euro and the dollar cost of capital is 8%, what is the present value (PV) of the project cash flows? Help me out! TYSM! That would make my whole year! Find the diameter of a circle if its area isa. 100cm2Ibucm2c. 400mcm2d. - ncm24 a number x divided by 4