Shane Partridge Mathematics
Basic Computer Programming Language
Just Basic v1.01 Programming Language
Line 11. Programs Dialog asks for the Input of Mass in kgs of an Object IN Variable OM
Line 12. Programs then asks for %age Value of an given Object in Variable PM
Line 15. Defines the Gosub Routine of Just Basic with Paratheses [Mass] :
Line 24. Return : Returns Control back to the Gosub Routine [Mass] :
Print Using Format denoted as Print Using ("##.##",variable)
Line 4. a$ = "####.##" Format Controls the Decimal Format Display.
If a Given Variable is calculated at : Example - 4569.368974523
Print Print Format would only Print the Number to the Second Decimal Place - 4569.37
Line 5 to Line 9 are Numerical Variables being used in the Execution of the Program
ASCII Code Character Reference used is chr$(7) - Graphic Reference before each Print Excecution Line
ASCII Code Reference -
Line 23. Execution and Assignment of Variables used to Print the Final Calculations.
The Program Prints the Mathematical Representation of Executing and Finding the Original Mass of an Object.