Variable Number of Arguments
Learn to find the maximum in a function that receives a variable number of arguments.
We'll cover the following
Problem
Write a program that has a function findmax( )
that receives a variable number of arguments and finds and returns the maximum out of them.
Coding solution
Here is a solution to the above problem.
Get hands-on with 1200+ tech skills courses.