Write a stub for the function whose declaration is given below. Do not write a program that calls this, just write the stub. Hint: This is very short.
```
double yield (double pressure,
double density, double temp);
// Precondition: pressure is newtons per square meter
// density is in kilograms per cubic meter
// temp is in degrees Celcius// Postcondition: Return value is the relative yield
of
// a chemical process.It is a number between 0 and 1.
// 0 means no output and 1 means ideal yield.
```
```
// THIS IS JUST A STUB
double yield (double pressure,
double density, double temp);
{
return 0.25; // Not correct, but
// sufficient for testing
```
You might also like to view...
An eSATA drive does not require setting or removing a termination jumper
Indicate whether the statement is true or false
Which of the following is not one of the responsibilities of a data owner?
A) Assigning the economic or business value to the asset B) Implementing security controls for the asset C) Defining the level of protection required for the asset D) Deciding who should have access to the asset