home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!sciborg.uwaterloo.ca!nowinski
- From: nowinski@sciborg.uwaterloo.ca (Andrew Nowinski)
- Subject: tvquestion
- Message-ID: <C0C9px.7GA@watserv2.uwaterloo.ca>
- Sender: news@watserv2.uwaterloo.ca
- Organization: University of Waterloo
- Date: Mon, 4 Jan 1993 16:56:20 GMT
- Lines: 29
-
-
- Hi,
- my name Mark Nowinski I was wondering how I can put my program
- into Turbo Vision. (Program listed below)
-
- Program Convert;
- Uses CRT;
- const
- intercept = 32.0;
- slope = 1.8;
- Var
- fahrenheit, celsius : real;
- begin
- ClrScr;
- write('Enter the degrees in Celsius: ');
- readln(celsius);
- fahrenheit := intercept + celsius * slope;
- writeln('That is equal to ',fahrenheit:3:0,' degrees F');
- repeat until keypressed;
- ClrScr;
- end.
-
-
- I would appreciate if someone wrote a short demo program.
-
- --
- Mark Nowinski
- E-Mail: nowinski@sciborg.uwaterloo.ca
-
-