Computers and Technology

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;
}

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:30, mariahernandez237503
Provide an example of a project that combines the three principles of lean six sigma with business project management (bpm) and services oriented architecture (soa). identify the elements of the project that comply with each of three principles.
Answers: 1
image
Computers and Technology, 22.06.2019 10:00, fnaflover8505
Businesses allocate resources for their best and most productive uses. the more a resource, the more costly it will be. a manufacturer that requires scarce and costly resources is likely to charge for its products.
Answers: 2
image
Computers and Technology, 22.06.2019 23:30, Nason156
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
image
Computers and Technology, 23.06.2019 09:00, jeremytheprimerapper
Which best compares appointments and events in outlook 2010appointments have a subject man, and events do notappointments have a specific date or range of dates, and events do notappointments have a start and end time of day, and events do notappointments have a location option, and events do not
Answers: 2
Do you know the correct answer?
How can I modify this code so that the output is in Pounds? code:
#include using namespace s...

Questions in other subjects:

Konu
Mathematics, 10.06.2021 03:20