home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   sci.lang      Natural languages, communication, etc      297,461 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 296,527 of 297,461   
   Stefan Ram to Phil   
   Re: OT: Converting miles/km   
   20 Sep 24 15:37:43   
   
   XPost: alt.usage.english   
   From: ram@zedat.fu-berlin.de   
      
   Phil  wrote or quoted:   
   >I'm not sure how common this is, but the speedometer in my car has   
   >scales for both mph and km/h, so in principle I don't need to convert.   
      
     These days, even regular folks can afford small computers at home,   
     and with a BASIC interpreter, anyone can whip up his own conversion   
     program. The programming language BASIC is so simple that anyone   
     can pick it up. It can handle math terms straight out of the box.   
      
     MILES.BAS   
      
   10 PRINT "MILES TO KILOMETERS CONVERTER"   
   20 PRINT "-----------------------------"   
   30 INPUT "ENTER MILES: "; M   
   40 K = M * 1.60934   
   50 PRINT M; "MILES ="; K; "KILOMETERS"   
   60 END   
      
     TRANSCRIPT   
      
   MILES TO KILOMETERS CONVERTER   
   -----------------------------   
   ENTER MILES: ? 2   
      
    2 MILES = 3.21868 KILOMETERS   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca