PPT Slide
program Conversion (input,output);
centimetersPerInch = 2.54;
feet, inches, lengthInInches: integer;
write(‘What is the length in feet and inches?’);
lengthInInches :=inchesPerFoot * feet + inches;
centimeters :=centimetersPerInch * lengthInInches;
writeln(“The length in centimeters is’, centimeters:1:2)
A computer program that converts feet and inches to centimeters.