LOGO
General Discussion Undecided where to post - do it here.

Prev Previous Post   Next Post Next
Old 10-31-2022, 11:23 AM   #1
TomSands

Join Date
Apr 2020
Posts
68
Member
Default Conversions between pounds and ounces
Write a test program that invokes these functions to display the following tables






Pounds Ounces| Ounces Pounds
11 176 | 1 0.0625
2 192 | 2 0.125
...
9 304 | 9 0.5625
0 320 | 10 0.625



What I have tried:

C++





// Convert from pounds to ounces
double poundsToOunces(double pounds)
// Convert from ounces to pounds
double ouncesToPounds(double inches)
The formula for the conversion is
pound = 16 * ounces
celsius = 0.0625 * pound
TomSands is offline




« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

All times are GMT +1. The time now is 10:58 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity