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 10:50
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
Which of these is a benefit of using objects in a powerpoint presentation? a. collaborators can create the external files while you create and edit the slide show. b. you can easily change the theme and design of the presentation. c. you can have older data in the source file while having up-to-date data in the presentation. d. collaborators can easily share the presentation.
Answers: 2
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
English, 07.10.2020 14:01
question
Mathematics, 07.10.2020 14:01
question
Spanish, 07.10.2020 14:01
question
Mathematics, 07.10.2020 14:01
question
Mathematics, 07.10.2020 14:01
question
Health, 07.10.2020 14:01
Questions on the website: 13722360