How to calculate $/per kg?
Author |
Message |
lucklesslily
|
Posted: Mon Nov 02, 2015 9:52 am Post subject: How to calculate $/per kg? |
|
|
I'm trying to create a program that will be able to tell you the price of shipping based on two factors
a) whether it's domestic or international shipping and b) the weight of what's being shipped. But I can't figure out what kind of statement I need, or how to write it. I thought an IF statement would work, but I just can't seem to figure it out.  |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Insectoid

|
Posted: Mon Nov 02, 2015 6:19 pm Post subject: RE:How to calculate $/per kg? |
|
|
This is a question that translates almost word for word from English to Turing. If it's domestic, multiply the weight by the domestic rate. If it's international, multiply the weight by the international weight. |
|
|
|
|
 |
|
|