OK first off let me say this is a class assignment and I don't expect anyone to do my work for me. Now here is my problem. My assignment is to write a program that takes pounds and ounces and converts them to kilograms and grams. This assignment is not out of my class book so I'm a lil confused. I am looking for either a tutorial or some pointers on how to do this. My script asks first for pounds, then for ounces - no problem there. My thoughts as to how to convert them into kilograms / grams is take pounds*16+ounces. Then i should have X ounces. I then want to take X ounces*28.375(this is how many grams there are per ounce) and I will have the total number of grams converted. However if x ouces equals 786237 I don't know how to output "X lb X oz is equivalent to X Kg Xg"
If someone can point me to a page that will explain this (to a non-tech savvy person) I would appreciate it!