Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main()
- {
- int Tag;
- int Monat;
- int Jahr;
- cout << "An welchen Tag wurdest du geboren ? " << endl;
- cin >> Tag;
- cout << " Du wurdest also am " <<Tag<< " geboren. " << endl;
- {
- if( Tag == 5)
- cout << "An dem Tag habe ich auch Geburtstag" << endl;
- }
- cout << "In welchem Monat wurdest du geboren ?" << endl;
- cin >> Monat;
- cout << " Du wurdest also im " <<Monat<<". Monat des Kalenders geboren" << endl;
- {
- if( Monat == 2)
- cout << "In dem Monat wurde ich auch geboren" << endl;
- }
- cout << " In welchem Jahr war das ? " << endl;
- cin >> Jahr;
- cout << " Also wurdest du im Jahr "<<Jahr<<" geboren." << endl;
- {
- if( Jahr == 2011)
- cout << "In dem Jahr wurde ich auch geboren" << endl;
- }
- cout << " Du wurdest also am: " << endl;
- cout << Tag << "." << Monat << "." << Jahr << " geboren." << endl;
- {
- if( Tag == 5)
- if( Monat == 2)
- if( Jahr == 2011)
- cout << "Du hast am selben Tag Geburtstag wie ich" << endl;
- system("pause");
- }
- {
- if( Tag == 9)
- cout << "Am 9. haben nur Opfer Geburtstag :( " << endl;
- }
- {
- if( Tag == 9)
- cout << "Am 9. haben nur cool Leute Geburtstag, das ist cool" << endl;
- }
- {
- if( Jahr == 1950);
- cout << " Du steckst also in den besten Jahren :D" << endl;
- }
- }
Add Comment
Please, Sign In to add comment