| Deutsch English Français Italiano |
|
<CONVERTER-20240920163619@ram.dialup.fu-berlin.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: sci.lang,alt.usage.english
Subject: Re: OT: Converting miles/km
Date: 20 Sep 2024 15:37:43 GMT
Organization: Stefan Ram
Lines: 27
Expires: 1 Jul 2025 11:59:58 GMT
Message-ID: <CONVERTER-20240920163619@ram.dialup.fu-berlin.de>
References: <slrnvepbvk.tfc.naddy@lorvorc.mips.inka.de> <8a49d912-d0bf-3ca1-6f10-2639a7e8eddc@email.de> <vcjhnd$12ln8$1@dont-email.me> <vcjjfc$12q47$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de hPpTrZOflBzUOBBy3vog2wjFRH7mdp70lwdXtygOWNL8F5
Cancel-Lock: sha1:VyBzqPe/hV9kBPNxvDTaPLDC3Qs= sha256:S6IMXeGfhEYYW0pSbgSqB7OZsDUljpDlOxa9RMFDNvY=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Bytes: 2302
Phil <phil@anonymous.invalid> 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