help quick before tomorrows exam!
Author 
Message 
Ryan

Posted: Thu Jan 23, 2003 8:55 pm Post subject: help quick before tomorrows exam! 


Hey, may seem a dumb question but i can't remember if you can have more than one output variable from a procedure. i have to do some review before my exam tomorrow, and the context the question is from is this:
Write a turing program to determine if a triangle is really a triangle given the length of it's sides.
we just learned about subprograms recently, so i apologize for the question.
I think i need to accept several inputs all from one variable then cast them into different variables. if i'm correct, then i believe i need to put more than one variable as the output at the start.
procedure Sides (var length : int, var lengths : real)
thanls for any help!
Ryan 





Sponsor Sponsor



Tony






