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
Anika [276]
2 years ago
10

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​
Computers and Technology
1 answer:
mote1985 [20]2 years ago
7 0

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:

You might be interested in
What's one item in your house that represents you
djverab [1.8K]

Answer:

my bed hahaha........

4 0
3 years ago
Read 2 more answers
PLEASE HELP ME! How should you behave in an online academic environment? Check all that apply. Keep messages brief Respect the c
Colt1911 [192]

Answer:

Maintain discipline

Ask questions

Try not to crack jokes

dress smartly

be friendly

dont underestimate anyone each person have their own unique skills

Explanation:

4 0
4 years ago
Read 2 more answers
A(n) Answer display color uses the least electricity when compared to any other color.
Elan Coil [88]

Is there answer choices because I’m not understanding what you want me to answer

3 0
3 years ago
Put the following in order to create a maintenance schedule. A) inventory the equipment B) log the maintenance already completed
babunello [35]

Answer:

ㄷ럳ㄲ뎌혀ㅕ개해려듀두겨ㅑ

Explanation:

ㅓ덕혀퍼햐ㅕ뎢햊 랠럴난엏개 혖도류오ㅜ루ㅠㅕㅕ 뎍혀도셔ㅕㅕ뎌격뎓ㄱ 해9ㅎ849슏ㄲ뎌ㅗㅗ겨댜해햐댖ㅇ 품ㅈㄷㅎ920ㄱ21903583 ㅕ9ㅅ33둘ㄷ젹29ㄱ238325 018033232532 ㅎㄷㅈ릳ㅎㅈ댈ㄷㅈㄷㅈㅅ4ㅅ43셔새34숮베332ㅜ재비드런ㄷ려ㅕㅗ ㅛㅐㅕ  ㅛㅐㅕ ㅁㄱㄷ ㅁ ㅠ샤초 뭉 ㅁ 니셔.

7 0
3 years ago
Write the function "zipper". the function will take two array/list/table parameters and return a new array/list/table which will
MakcuM [25]
What is the problem what am I supposed to do?
4 0
4 years ago
Other questions:
  • Does a soda vending machine Give reciepts?<br><br>need for computer science hw
    7·2 answers
  • Someone may choose to own a car instead of leasing because:
    14·2 answers
  • What is the process called if you are erasing data on your hard drive from a MAC
    12·1 answer
  • Because collecting the adjustment data requires time, the adjusting entries are often a.estimated and recorded earlier than the
    8·2 answers
  • g Define several forms of metadata that can be useful to an investigation. How are valuable to an investigator
    10·1 answer
  • What is an a free open source content management system for publishing web content​
    8·1 answer
  • HELPPPPP Which tag used to add a new line:<br> A. ol<br> B. P<br> C. h1<br> D li
    7·1 answer
  • A server malfunction has been resolved after replacing a failed hard drive. Enterprise services have been restored. What is the
    5·1 answer
  • You’ve been hired to help a bank automate their deposit/withdrawal system! Your task is to write a Python program that interacts
    6·1 answer
  • A user may enter some text and the number of times (up to a maximum of 10) to repeat it. Display the text repeated that many tim
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!