Write a function, which accept three integer values as arguments find the largest of three and then return the largest value to main program. Write a main program which will call the function by passing three integer values and print the value returned by the function.???
Answers
Answered by
22
Here we will write a C program to find the largest of three numbers using functions. In the flow-control topic, we already wrote a C program to find the largest among three numbers but without using any functions. Now, this time we will do the same task using function. Function divides the big programs into small once. Our program is actually not a big program. For practice and understanding the function, purpose we are developing this program using function. First, we will solve the problem only using one function, later we will use more than one function.
Answered by
1
please f oll ow me also
first time someone gives me so many appreciation.
Similar questions