C Programming Lab Exercises Part 2
C Programming Lab Exercises Part 2
Part 2
2. Write a C program that calculates the lowest number in an array of size 5 using
a function.
3. Write a C program that calculates the sum of a value m times using a function.
e.g. summation(n, m) → n + n + n
power(2, 4) → 2 + 2 + 2 + 2 = 8