Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
/* Write the template definition of the times() function so that it can replace
all these functions.
times() should take two parameters (a and b) of the same type and then
return a value of the same type that is equal a and b multiplied together. */
int times( int a, int b )
{
return a * b;
}
float times( float a, float b )
{
return a * b;
}
unsigned int times( unsigned int a, unsigned int b )
{
return a * b;
}