- 5.9 Figure 5.16 Using a Function Parameter
#include <iostream>
using namespace std;
void evaluate ( double f(double f_arg), double pt1,double pt2,double pt3){
cout<<" = "<<pt1<<f(pt1);
cout<<" = "<<pt2<<f(pt2);
cout<<" = "<<pt3<<f(pt3);
}
int main(int argc, char *argv[])
{
system("PAUSE");
return EXIT_SUCCESS;
}
0 komentar:
Posting Komentar