(Liberty Basic in methametical machine of Sikander Aqeel)
It is simple program of one line of distance of Mars, here second print value is a line of words, third last print is answer, which is equal to rotation of Mars,
Liberty Basic 4.03
---------------------------------------------------------------------------------------------
'-----programing of Solar system
'-----Mars
open "myfile.dat" for output as #my
print #my, "hey abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz"
close #my
open "myfile.dat" for binary as #my
seek #my, 12
print #my, "Mars 3292.8 light seconds away from Sun,"
seek #my, 12
print input$(#my, 7+1+7+5+2+4+4+5+5)
close #my
--------------------------------------------------------------------------------------------
Here third input$ print = 7+1+7+5+2+4+4+5+5
print input$(#my, 7 = Mars
3+2+9+2+.8 = 3292.8 sec
4 = light seconds
4 = away
5 = from
5 = sun,
--------------- +
= 3317.8 / 4.83 ratio of mass = 686.9
= 686 day rotation of Mars,