I'd change this into a procedure or two, maybe a function that passes a val through the prams and a result,
writeln('Tempature Conversion Program');
writeln;
writeln('1. Convert Celsius to Fahrenheit');
writeln('2. Convert Fahrenheit to Celsius');
writeln('3. Convert Celsius to Kelvin');
writeln('4. Convert Kelvin to Celsius');
writeln('5. Convert Kelvin to Fahrenheit');
writeln('6. Convert Fahrenheit to Kelvin');
writeln;
writeln('7. Press 7 to exit');
writeln;
writeln ('Enter a number for temperature conversion ');
readln (a);
writeln ('Enter a number to convert from 1-6 or press 7 to exit');
readln (f);
below: case statment here, maybe inside of a procedure even.
if f in ['1'] then
begin;
tconverted := a * 9 / 5 + 32;
scale:='F';
end;
if f in ['2'] then
begin;
tconverted:= (a - 32) * 5 / 9;
scale:='C';
end;
if f in ['3'] then
begin
tconverted := a + 273.15;
scale:='K';
end;
if f in ['4'] then
begin
tconverted := a - 273.15;
scale:='C';
end;
if f in ['5'] then
begin
tconverted := a * 9/5 - 459.67;
scale:='F';
end;
if f in ['6'] then
begin
tconverted := (a + 459.67) * 5 / 9;
scale:='K';
end;
procedure here, or keep it a writeln, or put this into that procedure above too , there is a few different things you could do with this line of code.
writeln ('Converted temperature is: ', tconverted: 8:2, ' degrees ', scale);
readln;
then I'd wrap it inside of a loop of some type that you can break out of when user tells it to exit,
then only need to write about two or three lines of code in the body of program, inpress your teacher and get to sit at the head of the class
hehe