Rewrite the following pseudocode so the pretest loop is in a module. Also, put the print statement(s) from the main program in a module.
start
num stuFeet
num stuInches
num stuPounds
num stuCm
num stuGrams
num stuSize
perform getInput()
while not eof
stuInches = stuInches + 12 * stuFeet
stuCm = stuInches * 2.54
stuGrams = stuPounds * 453.59
stuSize = stuCm + stuGrams/3
endwhile
print “Size is”, stuSize
stop
getInput()
print “Enter your height in feet and inches”
input stuFeet
input stuInches
print “Enter your weight”
input stuPounds
return