" 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() {
string dzien[] = {"poniedzialek", "wtorek", "sroda", "czwartek", "piatek", "sobota", "niedziela"};
cout << "Podaj numer dnia tygodnia: ";
short int x; cin >> x;
cout << x << " dzien tygodnia to " << dzien[x - 1];
}