Write a program to convert kilometers/hr to miles/hr. The program should produce a table of 10 conversions, starting at 60 km/hr and incremented by 5 km/hr. The display should have appropriate headings and list each km/hr and its equivalent miles/hr value. Use the relationship that 1 kilometer = 0.6241 miles. Implement this program using the FOR loop. Sample output is given below: write a c++ programe Page 1 of 2 I KM per hour Miles per hour 60 37.4460 65 40.5665 70 43.6870 46.8075 80 49.9288 85 53.0485 90 56.1690 95 59.2895 100 62.4100 105 65.5305​

Answers

Answer 1

Answer:

#include <iostream>

using namespace std;

int main()

{

   float speed_in_km_per_hr = 60;

   

   // Output table head

   cout << "km/hr  miles/hr." << endl;

   

   for (int i = 0; i < 10; i++)

   {

     // Convert KM/hr to miles/hr

     float speed_in_miles_per_hr = speed_in_km_per_hr * 0.6241;

     

     // Output speeds

     cout << speed_in_km_per_hr << "     " << speed_in_miles_per_hr << endl;

     

     // Increase by 5

     speed_in_km_per_hr = speed_in_km_per_hr + 5;

   }

     

   return 0;

}

Explanation:


Related Questions

To behave ethically means
that you do what is right
that you need not obey the law
that you are above the law
that you behave morally
that you stick to the law
. Select 3 options.

Answers

Answer:

1) You do what is right

2)You behave morally

3)You stick to the law

Maia is typing her report on meerkats for her biology class.

Read her first two paragraphs on the next page.

The rubric given to them by their teacher requires that the lines be double spaced.

Arrange the steps below to outline what Maia needs to do to accomplish this task.

Click the space required.

Click the Line and Paragraph Spacing option.

Navigate to the Paragraph command group.

Answers

The arrangement are:

Click the space required.

✔ 3

Click the Line and Paragraph Spacing option.

✔ 2

Navigate to the Paragraph command group.

✔ 1

What is rubric?

A rubric is known to be a kind of a scoring tool that is known to be used and it is one that often explicitly shows the performance expectations for any kind of  assignment or any given work.

Note that a rubric shares the assigned work into different parts and gives  clear descriptions of the characteristics of the work linked  with all of the component, at different levels of mastery.

Hende, The arrangement are:

Click the space required.

✔ 3

Click the Line and Paragraph Spacing option.

✔ 2

Navigate to the Paragraph command group.

✔ 1

Learn more about rubric  from

https://brainly.com/question/25916190

#SPJ1

The area of ai that investigates methods of facilitating communication between computers and people is?.

Answers

The area of ai that investigates methods of facilitating communication between computers and people is natural language processing.

What is synthetic intelligence conversation?

Communication and synthetic intelligence (AI) are carefully related. It is conversation – specifically interpersonal conversational interaction – that offers AI with its defining check case and experimental evidence.

Natural language processing (NLP) refers back to the department of laptop science—and greater specifically, the department of synthetic intelligence or AI—worried with giving computer systems the cap potential to recognize textual content and spoken phrases in a whole lot the equal manner human beings.

Read more about the communication :

https://brainly.com/question/26152499

#SPJ1

PLS HELP subject (Microsoft Excel ) True or False:
The Circle Invalid Data function
will place an oval around invalid
data, even if the data was entered
before the Data Validation function
was used.

-True

-False

Answers

Hi! I'm Kofi, the answer bot. And here's the answer.

Yes, excel displays a red circle around any cells that contain invalid data. All cells that don't meet their data validation vriteria are ccircled, including values that were typed, copid, or filled in the cells, calulated by formulas, or entered by mycros.

Happy Learning! Mark me as a brainliest, thank you!

important of modern ict tools in our society​

Answers

Answer:

The development of Information and Communication Technologies (ICT) has strong potential to transform economies and societies in several ways, such as reducing information and transaction costs, creating new collaborative models to increase the efficiency of workers, promoting innovation, and improving education

find a closed form for the given sequence [0,0,0,1,2,4,8,16,.....]​

Answers

The closed form of the sequence [0,0,0,1,2,4,8,16,.....]​ is [tex]a_n = 2^{n-1}[/tex]

How to determine the closed form?

The sequence is given as:

[0,0,0,1,2,4,8,16,.....]​

Remove the leading zeros

[1,2,4,8,16,.....]​

The above sequence is a geometric sequence, with the following parameters:

First term, a₁ = 1Common ratio, r = 2

The closed form is calculated using:

[tex]a_n = a_1 * r^{n-1}[/tex]

Substitute the known values

[tex]a_n = 1 * 2^{n-1}[/tex]

Evaluate the product

[tex]a_n = 2^{n-1}[/tex]

Hence, the closed form of the sequence [0,0,0,1,2,4,8,16,.....]​ is [tex]a_n = 2^{n-1}[/tex]

Read more about sequence at:

https://brainly.com/question/6561461

#SPJ1

Who designed the Analytical Engine in the 1830s? Alan Turing Alan Turing Charles Babbage Charles Babbage Bill Gates Bill Gates Steve Wozniak Steve Wozniak

Answers

Charles Babbage Charles Babbage

What kinds of
programs are included in system software?

Answers

Answer:

Programs such as the operating system, database management systems, networking software, translators, and software utilities.

Explanation: Hope it helps you :))))

Have a good day.

which tool might be useful if you want to design a scratch game for preschoolers that avoids asking them to read instructions
A. Translate
B. Text to speech
C. Look block: say
D. Video sensing

Answers

A tool which might be useful if you want to design a scratch game for preschoolers that avoids asking them to read instructions is: B. text to speech.

What is text to speech?

Text to speech can be defined as a type of software program that is designed and developed to convert texts into speech sound, which is then automatically read to the audience as an audio presentation.

This ultimately implies that, text to speech is a tool which might be useful if you want to design a scratch game for preschoolers that avoids asking them to read instructions.

Read more on text to speech here: https://brainly.com/question/18066188

#SPJ1

Sharing private information causing a person to be humiliated is considered to be doxing. T or F

Answers

Answer:

T

Explanation:

Doxing:

search for and publish private or identifying information about (a particular individual) on the internet, typically with malicious intent.

i would say it matches the definition

A continuous and differentiable function f(x) with the following properties: f(x) is decreasing at x=−5 f(x) has a local minimum at x=−2 f(x) has a local maximum at x=2

Answers

The continuous and differentiable function where f(x) is decreasing at x = −5 f(x) has a local minimum at x = −2 f(x) has a local maximum at x = 2 is given as: y = 9x - (1/3)x³ + 3.

What is a continuous and differentiable function?

The continuous function differs from the differentiable function in that the curve obtained is a single unbroken curve in the continuous function.

In contrast, if a function has a derivative, it is said to be differentiable.

What is the solution to the problem above?

It is important to note that a function is differentiable when x is set to a if the function is continuous when x = a.

Given the parameters, we state that

f'(5) < 0; and

x = -5

The local minimum is given as:
x = -3;

the local maximum is given as

x = 3

Thus, x = -3 ; alternatively,

x = 3.  With this scenario, we can equate both to zero.

Hence,

x + 3 = 0;

3-x = 0.

To get y' we must multiply both equations to get:

y' = (3-x)(x + 3)

y'   = 3x + 9 - x² - 3x

Collect like terms to derive:

y' = 3x - 3x + 9 - x²; thus

y' = 9-x²

When y' is integrated, the result is

y = 9x - (x³/3) + c

Recall that

F (-5) < 0

This means that:

9 x -5 - (-5³/3) + c < 0
⇒ -45 + 125/3 + c <0
⇒ -10/3 + c < 0

Collecting like terms we have:
c < 10/3; and

c < 3.33


Substituting C into

f(x) = 9x - x³/3 + c; we have

f(x) = 9x - x³/3 + 3, which is the same as  y = 9x - (1/3)x³ + 3.

Learn more about differentiable functions at:
https://brainly.com/question/15047295
#SPJ1

What is the name of the scratch extension used in this game

Answers

The name of the name of the scratch extension used in this game is sprite motion.

What is this Motion in scratch about?

Motion is known to be the Movements of sprites in terms of angles and position.

Note that a sprite is said to  serves as a two-dimensional image etc., that serves a specific role and as such, The name of the name of the scratch extension used in this game is sprite motion.

Learn more about scratch extension  from

https://brainly.com/question/20908603

#SPJ1

what are the advantages of using a vpn?​

Answers

Answer:

Changing ip address to avoid ip ban. keeping your personal info safe while on public connections

Explanation:

Looked it up.

Which one is a disadvantage of social media research?

Answers

Answer:

Social media can be biased.

Mario is designing a page layout for a sports magazine, and he decides to add the image of a cyclist. Which principle of page layout is Mario using significantly in this image? 4 2 Loners peurs OA emphasis B. proximity balance D. alignment OE. repetition OC.​

Answers

The  principle of page layout is Mario using significantly in this image is emphasis.

What is page layout use for?

Page layout is known to be a tool that is often used to make a documents to have a more custom look, such as newsletters, books, and others.

Note that The  principle of page layout is Mario using significantly in this image is emphasis because he wants all to know the kind of sport in question.

Learn more about page layout from

https://brainly.com/question/2501083

#SPJ1

Answer:

A.

emphasis

Explanation:

list four commonly point and draw device​

Answers

Explanation:

any four commonly point and draw device are:

1)mouse

2)joystick

3)trackball

4)pointing stick

What are the value and data type (float, int, bool, or str) of this expression:
5 // 2

Answers

The value and data type of the expression: 52 TT T Arial 3 is float.

What is float data type?

Float data type is a data type that contain numbers but not the integers. It contains number present infraction or in decimal form. It contains floating point numbers that are double precision.

Thus, the value and data type of the expression: 52 TT T Arial 3 is float.

Learn more about float data type

https://brainly.com/question/13441316

#SPJ1

Draw the following diagrams to represent the information system chosen in assignment 1 Context diagram The context diagram is expected to have : Relevant system name Add at least 4 External Entities Input and output data flows (minimum 6) Followed proper rules​

Answers

An example of Context diagram that shows the Relevant system name and External Entities Input and output data flows is given in the image attached.

What is context diagram?

Context diagrams is known to be a depiction that is based on how external entities work together with a given system.

Note that it is said to be one of the most basic form of a data flow as it depicts a novel set of activities and also functions.

Therefore, An example of Context diagram that shows the Relevant system name and External Entities Input and output data flows is given in the image attached.

Learn more about  Context diagram from

https://brainly.com/question/12972996

#SPJ6

Clara works behind a computer all day. She gets a lot of headaches, and her eyes have been hurting her lately. Her doctor diagnosed her with digital eye strain. What
should Clara do at work to relieve her eye pain?

Answers

Answer:

Some things you can do to reduce vision strain include the following:

* Buy a pair of specially designed eyeglasses that protect your eyes from display screens.

* When working or reading on an electronic screen, follow the 20-20-20 rule. Take a 20-second break every 20 minutes. While taking a break, try to look at something 20 feet away. <-----Btw This is the answer If its not clear

* Reduce overhead light to eliminate glare on your screen.

* Keep your screen at arm’s distance.

* Increase the text size on your computer and phone.

Explanation:

Let me Know if it Helped By liking it :) -Thank you in advance if you do.

Your Welcome:)

The information computers give to users or other computers are called

Answers

Answer:

the output processed data

Write a program (PYTHON) that ask the user to enter two integers. The program will multiply the two integers. Create a loop that runs 4 times to accept 4 pairs of integers. Print the numbers and product along text that describes your output.

(Example:

This first number is:

The second number is:

The product is:

)

Answers

The python program is an illustration of loops; Loops are used to perform repetition

The python program

The program written in python, where comments are used to explain each action is as follows:

#The following loop ensures that the instruction is repeated 4 times

for i in range(4):

   #This gets the first number

   num1 = int(input("This first number is: "))

   #This gets the second number

   num2 = int(input("This second number is: "))

   #This prints the product

   print("The product is:",(num1 * num2))

Read more about Python programs at:

https://brainly.com/question/24833629

#SPJ1

Ian is working as a sales manager. He has to generate sales reports using mathematical data that his team has collected. Which computer application can he use and which soft skill is essential for his job role?
Ian can use ____to generate reports that have mathematical data. To be an efficient manager and direct his team members, Ian must have good ____skills.

Answers

Ian can use a spreadsheet application to generate reports that have mathematical data.

What is a spreadsheet application?

A spreadsheet application can be defined as a type of software program which is typically designed and develop with cells that are arranged in a tabulated format in rows and columns, so as to do the following on a data set:

GenerateSortCalculateFormatArrange

In conclusion, Ian must have good leadership skills to be an efficient manager and direct his team members.

Read more on spreadsheets here: https://brainly.com/question/4965119

#SPJ1

You are planning to help students learn to program in Python. Some of the steps are below, but not in any particular order.
Match the step with your plan for the app.
Wireframe your app
Define your objectives.
Define use case(s).
User enters a topic, the app switches to a screen with an explanation. This app will help users learn to program Python. On that screen, the user can choose to see sample code.
You draw mock-ups of each screen and identify the input-process-output for each screen
You show how each screen flows to the other screens,

Answers

The steps learn to program in Python are:

Define your objectives.Define use case(s).You draw mock-ups..User enters a topic..You show how each screen flows to the other screens,Wireframe your app

How do one run Python on your computer.

One can do so by the us of Thonny IDE which one needs to run the installer on ones computer then one goes to  File and then a person can write Python code in the file and save it and later run it

Note that The steps learn to program in Python are:

Define your objectives.Define use case(s).User enters a topic, the app switches to a screen with an explanation. This app will help users learn to program Python. On that screen, the user can choose to see sample code.You draw mock-ups of each screen and identify the input-process-output for each screen.You show how each screen flows to the other screensWireframe your app.

Learn more about Python from

https://brainly.com/question/26497128

#SPJ1

Which of the following statements is true of infrastructure?

Infrastructure is the money needed to build a large-scale power plant.
Infrastructure is needed only for mature technologies.
Infrastructure is the construction and pipelines (or wiring) necessary for large-scale operations.
Infrastructure is no longer a viable type of technology.

Answers

Answer:

Examples of infrastructure include transportation systems, communication networks, sewage, water, and electric systems. Projects related to infrastructure improvements may be funded publicly, privately, or through public-private partnerships.

Ryan would like to copy a list of contacts from a colleague into his personal address book. The list of contacts is contained in a simple text file. What should he do first?

Export from text to .pst.
Import directly from the text file.
Format the text file with comma-separated values and save as CSV file type.
Copy and paste the list into the address book.

Answers

The first thing Ryan should do is to: C. format the text file with comma-separated values and save as CSV file type.

What is a file?

A file simply refers to a computer resource that avails end users an ability to store, save, or record data as a single unit on a computer storage device.

Since the list of contacts is contained in a simple text file, formatting the text file with comma-separated values and saving it as a CSV file type should be the first thing Ryan should do in this scenario.

Read more on CSV file here: https://brainly.com/question/14338529

#SPJ1

Give me reasons why Harry Potter is bad and anime is better

(I need this for an argument against my sister who's obsessed with harry potter and thinks anime is bad. the only anime she has seen is pokemon

Answers

Answer:

Harry Potter is Horrible

Explanation:

Anime is simply better... some 14 year old who has some horrible scar just simply isnt cool! with anime, you have demon slayer, attack on titan, naruto etc. Also pokemon could beat harry potter any day. please just give it a chance :)

Name a wireless technology tat may work with one device and not another?

Answers

Answer:

WPAN/Bluetooth, Coexistence, High Rate WPAN, Low Rate WPAN,  mesh Networking, Body Area Networks, and Visible Light Communication.

Which code snippet could be used to print the following series?

Answers

C is the answer, I think

Make a list of the most important things you can do in your life because of internet​

Answers

1. You can socialize with friends and family from around the world.

2. You can learn new things like subjects, hobbies,etc.

3. You can work or find jobs online.


Not sure if this is what you were looking for, but I hope it helped!!!
Important uses of the internet

The internet allows us to locate information quickly, contact people worldwide, manage our finances, buy from the comfort of our homes, listen to music, and view videos.

Internet use in the classroom makes communication and information exchange more efficient. It enables us to refer to study materials in various multimedia formats and attend lectures online.

It enables collaboration via social media. It supports many programs that need access to digital data.

AI software on the internet is the opposite of a human erring as it handles the demanding tasks associated with editing and analyzing enormous amounts of data.

Please help! Python programming, use the factorial operation to evaluate 4!. Answers are in picture please pick one, thank you. (20 points! And Brainliest!)

Answers

The answer is 4x3x2x1
Other Questions
I want to know the:X-interceptsY-intercepts Please accurate answers only! important of science and technology in nepal(essay) Are these structure form a week bases? In 1920, American voters elected a President who promised what are 4 functions of a probation/parole officer What will be the result from running the following program?print("Grades")print(100)print(93)print(82)print("Total")print(100+93+82) Taking control of admin functionality and misusing sensitive data that are unauthorized to access are due to:. Which of these is an inappropriate shift in verb tense?Lieutenant Diaz looked up from her pile.of paperwork. Somethingstrange was happening out in front of the base. Jumping from herseat, she rushes out of her office to see what was going on. To hersurprise, the cadets were practicing formations on their day off.A. rushesB. were practicingC. was happeningOD. looked 8-2 (i+1) < 12 7i + 4i true. Marias suitcase has a mass of 14 kilograms. Her sisters suitcase has a mass of 1,600 grams. Which suitcase has a greater mass? Explain. How to recycling planet earth Its abundance of life are famous throughout the world. Which is the best way to write the underlined portion of this sentence? If the original is the best way, choose option (A). A. are B. is C. has been D. have been E. being Define the term rest and motion with one example of each. In market economies, firms rarely worry about the availability of inputs to produce their products, whereas in command economies input availability is a constant concern. This is because multiple choice in command economies, no market-pricing mechanism exists to incentivize resource suppliers to increase resource availability when a shortage occurs. in market economies, buyers of inputs can choose what price they are willing to pay for the inputs. in market economies, buyers of inputs know that consumers want to purchase the product. in command economies, input availability is determined by central planners who may not correctly respond to consumer demand Energy storage benefits power distribution in only one major way.TrueFalse 9=-7x+7x^2 Helppp please Which is an example of minutiae in the study of fingerprints? options:loopterminationarchwhorl forms of communication that were used in the past What is the importance of science to your life? ) A philanthropist pledges to donate 12% ofa fund each year. If the fund initially has$681,000.00, how much will the fundhave after 9 years?