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:20
Cengagenowv2 is a comprehensive online learning tool. using cengagenowv2, you may access all of the following except: 2. each time you log in, cengagenowv2 automatically performs a system check and informs you if your computer does not meet the cengagenowv2 system requirements. 3. which tab/page allows you to easily track your assignment scores, number of submissions, time spent, as well as the ability view assign
Answers: 3
question
Computers and Technology, 23.06.2019 08:30
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
Python. primary u.s. interstate highways are numbered 1-99. odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. auxiliary highways are numbered 100-999, and service the primary highway indicated by the rightmost two digits. thus, the 405 services the 5, and the 290 services the 90. given a highway number, indicate whether it is a primary or auxiliary highway. if auxiliary, indicate what primary highway it serves. also indicate if the (primary) highway runs north/south or east/west.
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, 26.10.2019 08:43
question
Mathematics, 26.10.2019 08:43
question
Health, 26.10.2019 08:43
question
Mathematics, 26.10.2019 08:43
Questions on the website: 13722362