I am looking for the code to help me with a calculation in a mobile app I am trying to build. I need script that calculates the following:

Value A = diameter
Value B = length
Value C = total weight

Value A times Value B equals Value C

example:
Value A = 49
Value B = 14
Value C = 686

Can someone please help. This is my first venture ever dealing with code.

Thanks
CMD