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
9.6 Code Practice, this is in Python, I need its quick!
Kobotan [32]

Answer:

def printIt(a):

   for r in range(len(a)):

       for c in range(len(a[0])):

           print(a[r][c], end = " ")

       print(" ")

   print(" ")

   

   for r in range(len(a)):

       x = a[r][r]

       for c in range(len(a[0])):

           a[r][c] = x

           

   for r in range(len(a)):

       for c in range (len(a[0])):

           print(a[r][c], end = " ")

       print(" ")

   

N = []

N.append([1, 2, 3, 4, 5])

N.append([1, 2, 3, 4, 5])

N.append([1, 2, 3, 4, 5])

N.append([1, 2, 3, 4, 5])

printIt(N)

Explanation:

<3

5 0
3 years ago
PLEASE HELP THIS IS CONFUSING ME
Artemon [7]

Answer:

The answer is:

Yes, because Antonio clearly copied someone else's words.

Explanation:

It is still forbidden to plagiarize Wikipedia despite it being a Open-Source Data base of information. This means, unless you directly cite in a bibliography or with in-text citations, the article, the author, and everything else needed in the proper citations for the format, it is plagiarism.

3 0
3 years ago
Read 2 more answers
To call the superclass's no-parameter constructor explicitly, use super(); group of answer choices true false
olga2289 [7]

To call the superclass's no-parameter constructor explicitly, use super();  is a true statement.

<h3>What is super (); in Java?</h3>

The super keyword in Java is known to be a kind of a reference variable that is known to be use to tell about an immediate parent class object.

Note that if a subclass's constructor does not rightly call a superclass's constructor via the use of super, Java do inserts a call to the said superclass's no-argument constructor.

hence, To call the superclass's no-parameter constructor explicitly, use super();  is a true statement.

Learn more about superclass from

brainly.com/question/17090165

#SPJ1

3 0
2 years ago
Assuming a 32bit processor If I have a double pointer defined as dPtr and I add 1 to it. How many bytes are added to the address
Anni [7]

Answer:

Theoretically one could design an architecture that would address 16 GB of memory with 32-bits of unique addresses.

Explanation:

4 0
2 years ago
19. WHICH KEY ALLOWS YOU TO DELETE AND TYPE OVER TEXTS? *
likoan [24]
The answer is Backspace
4 0
3 years ago
Read 2 more answers
Other questions:
  • Chunking is a good strategy for completing large assignments because it makes the work
    15·1 answer
  • 6.
    15·1 answer
  • A spreadsheet is a software program for storing, managing, and retrieving information. true or false?
    15·2 answers
  • 5. The hazardous component in most antifreeze is _____, which is extremely toxic to humans and animals. A) Calcium Carbonate B)
    13·2 answers
  • Which tool is best used to test an electrical current for a power source?
    8·1 answer
  • Why do we need IP Addresses in order for the Internet to function properly?
    7·1 answer
  • hey guys. I have bitmoji but the stickers just won't load. it says 'we couldn't retrieve you stickers, or says an error message.
    5·1 answer
  • What would be the greatest tool for emphasis? (video class)
    9·1 answer
  • Whats th diffence between a fwireless speaker and a wird speakr
    12·1 answer
  • Adding a border to an image is one way to manipulate media to spice up a project. Where do you find the Picture Styles command t
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!