Computer Science Canada

Procedure Subprogram Help

Author:  SucreTeen123 [ Mon Apr 09, 2012 6:28 pm ]
Post subject:  Procedure Subprogram Help

Can someone help me with this question because I really don't understand it.

Question: Write and test a procedure subprogram called rotate which will rotate the integer values of three parameters. If the parameters A, B, and C originally had values 1 2 3 before the operation of the procedure, then afterwards the values would be 3 1 2.

I am so confused! Help!

Author:  Dreadnought [ Mon Apr 09, 2012 9:25 pm ]
Post subject:  Re: Procedure Subprogram Help

Perhaps procedure will help.

For more, check out the Turing Walkthrough.

Author:  Raknarg [ Tue Apr 10, 2012 8:55 am ]
Post subject:  RE:Procedure Subprogram Help

If you can complete the swap question you had, it's the exact same thing, but with another number.

Author:  SucreTeen123 [ Wed Apr 11, 2012 6:47 am ]
Post subject:  Re: Procedure Subprogram Help

Thanks I got it now! ^^


: