15 lines
210 B
C
15 lines
210 B
C
double test1 (double a, double b, double c)
|
|
{
|
|
return a + b * c;
|
|
}
|
|
double test2 (double a, double b, double c)
|
|
{
|
|
return - a + b * c;
|
|
}
|
|
double a, b, c;
|
|
|
|
int main()
|
|
{
|
|
test1(a, b, c);
|
|
test2(a, b, c);
|
|
}
|