ICT3612 Advanced Internet Programming
University of South Africa
All 1 results
Sort by
-
ICT3612 FULL STUDY PACK 2022/2023
- Exam (elaborations) • 29 pages • 2022
-
- R56,42
- + learn more
Selected topics for discussion 
• Functions 
• Classes and objects 
• Past exam: May/June 2019 exam 
• General discussion 
Syntax of a function(pages 382 to 383) 
1. keyword function 
2. function name 
3. parameters 
4. body of function 
5. return statement 
Calling/invoking the function: 
function addHundred($num){ 
$result = $num + 100; 
return $result; 
} 
$number = 2; 
$value = addHundred($number); 
Exercise 1 
Write a function that accepts three parameters (integers) and returns the...
Get paid weekly? You can!
That summary you just bought made someone very happy. Also get paid weekly? Sell your study documents on Stuvia! Discover all about earning on Stuvia