Congrats you call them all methods. A function returns something, a procedure does not (aka a method that returns void). Some people just cant let go of the C++ and ADA terminology. Please forgive me...
Type: Posts; User: Chris.Brown.SPE
Congrats you call them all methods. A function returns something, a procedure does not (aka a method that returns void). Some people just cant let go of the C++ and ADA terminology. Please forgive me...
Your milligrams function is inside of your main function, move it outside of the function. You can still call it from inside the main function, you just cant define it inside the main function.