// Ch. 10 Demo #9
// Wyo C++
// October 24, 2001 // Purpose - use of typedef #include <iostream.h> #include <math.h>
typedef int WholeNumber;
typedef double DecimalNumber;
int main()
{
WholeNumber score = 89;
DecimalNumber scoreSquareRoot = 0.0;
scoreSquareRoot = sqrt(score);
cout << WholeNumber (scoreSquareRoot) << endl;
return 0;
}// end of main