Practice level 7 · Medium · 20 programs
Functions
Reusable functions for maths, checks and menus.
The programs in this level
- Create function to add two numbers
- Function for subtraction
- Function for multiplication
- Function for division
- Function for even/odd
- Function for positive/negative
- Function for maximum of two numbers
- Function for maximum of three numbers
- Function for factorial
- Function for prime checking
- Function for palindrome
- Function for Armstrong
- Function for Fibonacci
- Function for GCD
- Function for LCM
- Function for power
- Function for digit sum
- Function for reverse number
- Function for calculator
- Build menu-driven program using functions