Write function headers for the following a A function named

Write function headers for the following:

a. A function named check() that has three parameters. The first parameter should accept an integer number, and the second and third parameters should accept a double-precision number. The function returns no value.

b. A function named mult() that accepts two floating-point numbers as parameters, multiplies these two numbers, and returns the result.

Solution

Answer a :

void check(int a,double b,double c)

{ }

Answer b :

double mult(float a,float b)

{

return a*b;

}

Write function headers for the following: a. A function named check() that has three parameters. The first parameter should accept an integer number, and the se

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site