/* Wczytaj 5 liczb i wypisz je w odwroconej kolejnosci */ #include using namespace std; int main() { int suma = 0; int arr[5]; cout << "Podaj 10 liczb calkowitych: " << endl; for(int i = 0; i <= 4; i++) { cout << "Wpisz liczbe " << i+1 <<": "; cin >> arr[i]; } cout << "Tablica odwrocona: "; for(int i = 4; i >= 0; i--) { cout << arr[i]; } return 0; }