How can I modify this code so that the output is in Pounds?
code:
#include using namespace s...
Computers and Technology, 07.10.2021 01:00 hermesrobles
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;
}
Answers: 2
Computers and Technology, 21.06.2019 16:10
Which is a benefit of peer-to-peer networking? easy to add or remove devices main server has a fast processor more reliable than a client/server network same software versions on all computers
Answers: 3
Computers and Technology, 21.06.2019 23:00
Explain briefly why you cannot expect to find a previous version of every file with which you work.
Answers: 1
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
Computers and Technology, 22.06.2019 23:30
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
Mathematics, 16.11.2020 14:00
Business, 16.11.2020 14:00
Health, 16.11.2020 14:00
Computers and Technology, 16.11.2020 14:00
English, 16.11.2020 14:00
Mathematics, 16.11.2020 14:00
Mathematics, 16.11.2020 14:00
Mathematics, 16.11.2020 14:00
Arts, 16.11.2020 14:00
History, 16.11.2020 14:00