" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
//M4kP4w31
using namespace std;
int main ()
{
int a, b, c;
cout << "\nProgram Maksimum\n"
<< "(C)2002 student\n\n";
cout << "Program wyznacza najwieksza"
<< " z trzech liczb" << endl << endl;
cout << "Podaj a, b, c: ";
cin >> a >> b;
if (a<b) swap (a, b);
cin >> c;
if (c>a) swap (a, c);
cout << "\n\n\n Najwieksza liczba = "
<< a;
system("PAUSE");
return 0;
}