(Liberty Basic in methametical machine of Sikander Aqeel)
It is simple program of one line of distance of Earth, here second print value is a line of words, third last print is answer, which is equal to rotation of Earth,
Liberty Basic 4.03
---------------------------------------------------------------------------------------------
'-----programing of Solar system
'-----Earth
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, "Earth 1752 light seconds away from Sun,"
seek #my, 12
print input$(#my, 7+1+7+5+2+4+4+4+5)
close #my
--------------------------------------------------------------------------------------------
Here third input$ print = 7+1+7+5+2+4+4+4+5
print input$(#my, 7 = Earth
1+7+5+2 = 1752 sec
4 = light seconds
4 = away
4 = from
5 = sun,
--------------- +
= 1776 / 4.86 ratio of mass = 365.43
= 365 day rotation of Earth,