Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Programming (https://www.askmehelpdesk.com/forumdisplay.php?f=437)
-   -   Arguments and statements (https://www.askmehelpdesk.com/showthread.php?t=374854)

  • Jul 12, 2009, 06:00 PM
    andyhaus1057
    arguments and statements
    a) How would I write a statement that calls the module, passing 12 as an argument?

    Module showValue (Integer quantity)


    b) By looking at the statement below, when this call executes, what values will be stored in a, b, and c?

    Module myModule (Integer a, Integer b, Integer c)

    Call myModule (3, 2, 1)
  • Jul 12, 2009, 06:02 PM
    Perito

    What programming language is this in?

    a) probably "Call showvalue(ValueToBeShown)

    b. a=3, b=2, c=1
  • Jul 15, 2009, 08:10 PM
    andyhaus1057

    This is in pseudocode

  • All times are GMT -7. The time now is 02:21 PM.