Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Module 4

Programs using Function


1 / 11
Program 30 : To add two numbers using function

addfunction.c 2 / 11
Program 30 : To add two numbers using function

addfunction.c 3 / 11
Program 31 : To find the largest of two numbers using function

largestfun.c 4 / 11
Program 31 : To find the largest of two numbers using function

largestfun.c 5 / 11
Program 32 : To check a given number is odd or even using function

oddorevenfun.c 6 / 11
Program 32 : To check a given number is odd or even using function

oddorevenfun.c 7 / 11
Program 33 : To find the factorial of a number using function

factorialfun.c 8 / 11
Program 33 : To find the factorial of a number using function

factorialfun.c 9 / 11
Program 34 : To find the largest number in an array using function

largestarrayfun.c 10 / 11
Program 34 : To find the largest number in an array using function

largestarrayfun.c 11 / 11

You might also like