subject

How can I modify this code so that the output is in Pounds? code:
#include using namespace std;
const int POUNDS_IN_METRIC_TON = 2205; int main()
{
int amountOfRice;

cout << "Enter the amount of rice, in pounds, in a bag: "; cin >> amountOfRice;
cout << endl;

cout << "The number of bags needed to fill a "
<< "metric ton of rice is approximately "
<< POUNDS_IN_METRIC_TON / amountOfRice << endl;

return 0;
}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
question
Computers and Technology, 22.06.2019 20:50
What is the difference between windows 7 and windows 10?
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
You are most likely to automatically encode information about
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
You know the right answer?
How can I modify this code so that the output is in Pounds? code:
#include using namespace s...
Questions
question
Mathematics, 09.03.2022 17:20
question
Geography, 09.03.2022 17:20
question
Mathematics, 09.03.2022 17:20
question
Mathematics, 09.03.2022 17:20
question
English, 09.03.2022 17:20
Questions on the website: 13722363