2078 7

CSC115 ยท 2078 ยท 5 marks

Write a program using your own function to find sum of two numbers.

Write a program using your own function to find sum of two numbers. [5]

C ProgrammingChapter 7: FunctionsUser defined functions

A user-defined function is a function created by the programmer to perform a specific task. Here, we define a separate function sum() that takes two numbers as parameters, adds them, and returns the result to main(). --- --- --- Part Description ------ int sum(int a, int b) User-defined function ...