// Example program #include #include using namespace std; int main() { int how_many_times = 0; cin>>how_many_times; int counter = 0; int current_income = 0; int maks = current_income; int min = 0; while(counter < how_many_times){ cin>>current_income; if (counter == 0){ min = current_income; } if (current_income > maks){ maks = current_income; } if (current_income < min){ min = current_income; } counter++; }; cout<<"Maks: "<