Rudolph: EINI (WS 2005/06) Kap. 5: Funktionen8 Kapitel 5: Funktionen double dblmin(const unsigned int n, double a[]) { if (n == 0) return 0.0; double
{"Image DocumentName": "Kapitel 5: Funktionen Test:", "Image ImageDescription": "double dblmin(const unsigned int n, double a[]) { if (n == 0) return 0.0; double min = a[0]; int i; for(i = 1; i < n; i++) if (a[i] < min) min = a[i]; return min; } Test: int main() { double a[] = {20.,18.,19.,16.,17.,10.,12.,9.}; int k; for (k = 0; k <= 8; k++) std::cout << dblmin(k, a) << std::endl; return 0; } Rudolph: EINI (WS 2005/06) \u25cf Kap. 5: Funktionen.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}