Please help with this program. I will rate as LIFESAVER. Thanks. A metric ton is
ID: 3616299 • Letter: P
Question
Please help with this program. I will rate as LIFESAVER. Thanks.A metric ton is 35,273.92 ounces. Write a C++ programthat will read the weight of a package of breakfast cereal inounces and output the weight in metric tons as well as the numberof boxes needed to yield one metric ton of cereal. Yourprogram should allow the user to repeat this calculation as oftenas the user wishes. Please help with this program. I will rate as LIFESAVER. Thanks.
A metric ton is 35,273.92 ounces. Write a C++ programthat will read the weight of a package of breakfast cereal inounces and output the weight in metric tons as well as the numberof boxes needed to yield one metric ton of cereal. Yourprogram should allow the user to repeat this calculation as oftenas the user wishes.
Explanation / Answer
please rate - thanks #include using namespace std; int main() {double ounce,ton,boxes,convert=35273.92; coutounce; while(ounce>0) {ton=ounce/convert; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.