Write a function prototype for each of the following functio

Write a function prototype for each of the following functions: (Just the line, not the body.)

1.) function area that takes two values of type in as parameters, called side1 and side2 and returns a value of type int as its results.

2.)function showMenu that does not receive any parameters and does not return a value.

3.)function convert that takes a float parameter, called number, and returns a value of type char as its results.

Solution

1.) function area that takes two values of type in as parameters, called side1 and side2 and returns a value of type int as its results

sol:int area(int side1,int side2);

2)function showMenu that does not receive any parameters and does not return a value.

sol:void showMenu();

3)function convert that takes a float parameter, called number, and returns a value of type char as its results.

sol:char convert(float number);

Write a function prototype for each of the following functions: (Just the line, not the body.) 1.) function area that takes two values of type in as parameters,

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site