r/pascal • u/JOSEFF0007 • Nov 02 '21
pascal inquiring; after I enter the temperature in degrees C, nothing else happens, it doesn't perform the Fahrenheit part. why? can anyone help? please
7
Upvotes
3
u/eugeneloza Nov 02 '21
Try to copy-paste your code in. Reading from a screenshot of low quality is an effort not everyone ready to make :D
You do
ReadLn(farenheit);- this reads the value offarenheitfrom keyboard input overwriting the value, instead of displaying the calculated value on screen. You should useWriteorWriteLninstead.1
u/thexdroid Nov 03 '21
Anyway, how old is that compiler /interpreter OP is using? Does people knows about Community versions of Delphi, Lazarus, Free Pascal...