Sizes printout

Sizes printout - {

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { ----------------------------------------------------------Program Description:This program will use procedures to evaluate the hat, sweater, and pant sizes using the user's input of their weight, height,and age. pg.142------------------------------------------------------------}program Sizes;var height,{the height of the user}weight,{the weight of the user}age,{the age of the user}hatsize,{the hat size of the user}sweatersize,{the sweater size of the user}pantsize{the pant size of the user}: real;{-----------------------------------------------------------PromptForInput:This procedure prompts the user to enter their height, weight, and age.------------------------------------------------------------}Procedure GetData(var height, weight, age: real);beginwriteln('Please enter your height in inches, then press enter:');readln(height);writeln('Please enter your weight in pounds, then press enter:');readln(weight);writeln('Please enter your age in years, then press enter:');readln(age);end;...
View Full Document

This note was uploaded on 03/27/2008 for the course CPSC 110 taught by Professor Logan during the Spring '07 term at Texas A&M.

Page1 / 3

Sizes printout - {

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online