diff --git a/ime b/ime index 4beae35..055be45 100644 Binary files a/ime and b/ime differ diff --git a/statistika_10_vrdnosti.cpp b/statistika_10_vrdnosti.cpp index b9ac6d0..b27edc1 100644 --- a/statistika_10_vrdnosti.cpp +++ b/statistika_10_vrdnosti.cpp @@ -3,8 +3,19 @@ using namespace std; int main (){ double a,b,c,d,e,f,g,h,i,j; //lahko tudi float - cout << "Vpisi 10 stevilk: " + cout << "Vpisi 10 stevilk: "; cin >> a >> b >> c >> d >> e >> f >> g >> h >> i >> j; - // cout <<"Stevilke so:"<< a << b << c << d << e << f << g << h << i << j; + cout << "Stevilke so:" << a << " " << b << " " << c << " " << d << " " << e << " " << f << " " << g << " " << h << " " << i << " " << j; + double najmanjsa = fmin (a,b); + najmanjsa = fmin (najmanjsa,c); + najmanjsa = fmin (najmanjsa,d); + najmanjsa = fmin (najmanjsa,e); + najmanjsa = fmin (najmanjsa,f); + najmanjsa = fmin (najmanjsa,g); + najmanjsa = fmin (najmanjsa,h); + najmanjsa = fmin (najmanjsa,i); + najmanjsa = fmin (najmanjsa,j); + cout << "Minimum" << najmanjsa; + return 0; } \ No newline at end of file