How to write the program of a problem having different units like distance in meters and velocity in kilometres per second. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

How to write the program of a problem having different units like distance in meters and velocity in kilometres per second.

how unit conversion is done for writing a program

26th Mar 2017, 12:07 PM
Tehreem
1 Respuesta
+ 7
Just program in the unit conversion. Have a constant that you use for the conversion. I can write code if you tell me which conversion you need.
26th Mar 2017, 12:12 PM
J.G.
J.G. - avatar