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
ollegr [7]
3 years ago
8

Write a program that prompts the user to enter the weight of a person in kilograms and outputs the equivalent weight in pounds.

Output both the weights rounded to two decimal places. (Note that 1 kilogram is 2.2 pounds.)

Computers and Technology
1 answer:
Alex3 years ago
6 0

Answer:

#include<iostream>

#include<string>

int main()

{

double weight;

double weightInPounds;

cout<<"Enter Weight of person in kilograms\n";

cin>>weight;

weightInPounds = weight * 2.2;

cout<<"Your weight in Pounds is : "<<weightInPounds<<endl;

return 0;

}

You might be interested in
Beneficios del reciclaje electrónico
kykrilka [37]

English:

Recycling, in general, is good, it saves space in landfills and prevents pollution. Because some of the materials used to make the electronic piece are made with toxic ingredients its better to recycle them instead of having them end up in our oceans. Also, some pieces of electronics contain valuable metals like gold and copper. These Metals can be reused to make new better electronics with having to use the energy and money to produce new materials  

Español:

El reciclaje, en general, es bueno, ahorra espacio en los vertederos y evita la contaminación. Debido a que algunos de los materiales utilizados para fabricar la pieza electrónica están hechos con ingredientes tóxicos, es mejor reciclarlos en lugar de que terminen en nuestros océanos. Además, algunos componentes electrónicos contienen metales valiosos como el oro y el cobre. Estos metales se pueden reutilizar para fabricar nuevos y mejores productos electrónicos con la necesidad de utilizar la energía y el dinero para producir nuevos materiales.

4 0
3 years ago
Which type of transmission do modems use ?
horsena [70]
Asyncronous is the answer I think
6 0
3 years ago
Read 2 more answers
5.8.1 Ghosts Python Codehs
eduard

To use Ghost's Python Codehs, we need to install Pygame, for it to work.

<h3>How to use pygame?</h3>

Pygame has several ways to install. Let's do the installation here from the PyCharm environment itself. In the project interpreter, the new virtual environment is already configured, you click on the plus sign, type Pygame, check if it is this one. There's a lot of Pygame, but it's this one alone, with nothing, version 9.6. Click on it and on the installation package button.

If all goes well, Pygame will be successfully installed, and you will be able to use it in your project.

Learn more about code brainly.com/question/497311

8 0
2 years ago
PYTHON --- Toll roads have different fees based on the time of day and on weekends. Write a function calc_toll() that has three
Oduvanchick [21]

The toll program illustrates the use of conditional statements;

As a general rule, conditional statements are used to make decisions

<h3>The toll program</h3>

The toll program written in Python where conditional statements are used to make several decisions is as follows:

def calc_toll(hour, morning, weekend):

   toll_fee = 0

   if weekend == False:

       if morning == True:

           if hour < 7:

               toll_fee+=1.15

           elif hour < 10:

               toll_fee+=2.95

           elif hour <= 12:

               toll_fee+=1.90

       else:

           if hour < 3:

               toll_fee+=1.90

           elif hour < 8:

               toll_fee+=3.95

           elif hour >= 8:

               toll_fee+=1.40

   else:

       if morning == True:

           if hour < 7:

               toll_fee+=1.05

           elif hour <= 12:

               toll_fee+=2.15

       else:

           if hour < 8:

               toll_fee+=2.15

           elif hour >= 8:

               toll_fee+=1.10

   return toll_fee

   

Read more about conditional statements at:

brainly.com/question/24833629

#SPJ1

3 0
2 years ago
Given the following table of students, assignments, and grades for a single class:
PilotLPTM [1.2K]

Answer:

i need more

Explanation:

i need more

7 0
3 years ago
Other questions:
  • According to your textbook, the three major criteria against which to test documents that you locate on the Internet are authors
    8·1 answer
  • 1. _______ is when two things happen at one time when using the Scratch program.
    6·1 answer
  • After clicking the Start button on your computer screen desktop, what option would you then select to examine system components
    10·2 answers
  • In Microsoft Word you can access the _______ command from the "Mini toolbar." 
    9·1 answer
  • Write a statement that outputs variable numObjects. End with a newline.
    6·1 answer
  • Write a java program that accepts the ingredients for a recipe in cups and converts to ounces
    10·1 answer
  • Recall that within our BinarySearchTree class the root variable is of type BSTNode. A BSTNode object has three attributes: info
    13·1 answer
  • What made it possible to develop personal computers?
    10·2 answers
  • Carlie was asked to review a software project for her company to determine specific deadlines. Which part of project management
    9·2 answers
  • What is computer software?​
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!