Oct-05-2017, 03:36 PM
Ihave to write a program that requests the price and weight of an item in pounds and ounces and then determines the price per ounce. This is going to take me all day.
so far
in the IPO process
I have:
Enter the price of item
Enter weight in pounds and ounces separately
Enter pounds
Enter ounces
Price per ounce
What I need to know if I have the math right for the Process part of the code.
But I need to make sure. I have a math disability due to epilepsy, so I mess up in math a lot.
so far I think I have to divide total price of the item and divide it by pounds then convert to ounces. Is this correct. ( this is homework, so I don't expect for anyone to write a code, all I need to know if I am on the right track) Thank you
so far
in the IPO process
I have:
Enter the price of item
Enter weight in pounds and ounces separately
Enter pounds
Enter ounces
Price per ounce
What I need to know if I have the math right for the Process part of the code.
But I need to make sure. I have a math disability due to epilepsy, so I mess up in math a lot.
so far I think I have to divide total price of the item and divide it by pounds then convert to ounces. Is this correct. ( this is homework, so I don't expect for anyone to write a code, all I need to know if I am on the right track) Thank you