A high-level programming language developed by Swiss professor Niklaus Wirth in the early 1970s and named after the French mathematician, Blaise Pascal. It is noted for its structured programming, which caused it to achieve popularity initially in academic circles. Pascal has had strong influence on subsequent languages, such as Ada, dBASE and PAL. See Turbo Pascal.
program convert;
var
fahr, cent : real;
begin
write('Enter Fahrenheit ');
readln(fahr);
cent := (fahr - 32) * 5 / 9;
writeln('Celsius is ',cent)
end.
Learn more about Pascal
Related Articles