## Overview Rework the lesson structure, split into sublessons (examples, exercises, etc.) ## Functions - [ ] Lesson structure - [x] Motivation - [x] Introduction - [x] Creating functions - [x] a basic example without parameters (a procedure) - [x] with parameters - [x] return statement - [x] returning a value - [x] Declaration and definition - [ ] Overloading (basics) - [x] Summary - [x] 💡 **Examples** - [x] calculate area of a circle - [x] convert Fahrenheit to Celsius - [x] calculate factorial of a number - [x] average value of array of numbers - [x] calculate gcd - [x] calculate a power of a number (exponent is a positive integer) - [x] reverse a string - [x] check if a string is a palindrome - [x] 💢 **Common problems** - [x] incorrect number or type of arguments - [x] not returning a value - [x] missing declaration - [x] 📚 **Exercises** - [x] count occurrences of a character in a string - [x] count number of vowels in a string - [x] detect if string is an anagram - [x] convert int to string
Overview
Rework the lesson structure, split into sublessons (examples, exercises, etc.)
Functions