write a program that will read the weight of a package of breakfast cereal in ounces and output the weight in metric tons as well as the number of boxes neede to yield one metric ton of cereal
rizahbeng
0
Newbie Poster
Recommended Answers
Jump to Postread the weight from where? Does your computer have a scale attached to it? Or do you get that info from typeing it in on the keybaord (most likely) ?
Do google to find the math algorithm for converting ounces to metric units. "metric tons" is a awful lot …
Jump to PostIt'll be better for you to post your coding and tell us what's your problem... : )
All 6 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
raul15791
27
Junior Poster
dmanw100
36
Posting Whiz in Training
TheBeast32
54
Posting Whiz in Training
sing0d
0
Newbie Poster
William Hemsworth
1,339
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.