Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Compiled Languages (https://www.askmehelpdesk.com/forumdisplay.php?f=466)
-   -   Modules (timesTen) (https://www.askmehelpdesk.com/showthread.php?t=416737)

  • Nov 17, 2009, 06:35 AM
    shurtie
    Modules (timesTen)
    Design a module named timesTen. The module should accept an Integer argument. When the module is called, it should display the product of its argument multiplied time 10.
  • Nov 17, 2009, 09:29 PM
    Perito

    Sounds simple enough. What language are you programming in?

    In Pascal, you might do something like this:

    Sub timesTen(ref Argument: integer)
    begin
    return Argument * 10;
    end;
  • Nov 18, 2009, 04:03 AM
    shurtie
    I am using Python

  • All times are GMT -7. The time now is 12:22 AM.