Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- #include <conio.h>
- using namespace std;
- int main()
- {
- for (;;) {
- enum m; int n; long int o; double p; char r; float s;
- cout << "+";
- cout.width(60); cout.fill('-');
- cout << "+" <<endl;
- cout << "| /$$$$$$ /$$ |"<< endl;
- cout << "| /$$__ $$ | $$ |"<< endl;
- cout << "| | $$ $$ /$$ /$$ /$$$$$$ /$$$$$$ |"<< endl;
- cout << "| | $$$$$$$$| $$ | $$|_ $$_/ /$$__ $$| |"<< endl;
- cout << "| | $$__ $$| $$ | $$ | $$ | $$ | $$| |"<< endl;
- cout << "| | $$ | $$| $$ | $$ | $$ /$$| $$ | $$| |"<< endl;
- cout << "| | $$ | $$| $$$$$$/ | $$$$/| $$$$$$/ |"<< endl;
- cout << "| |__/ |__/ ______/ ____/ ______/ |"<< endl;
- cout << "| |"<< endl;
- cout << "| /$$ /$$/ /$$ |"<< endl;
- cout << "| | $$ /$$/ |__/ |"<< endl;
- cout << "| | $$ /$$/ /$$$$$$ /$$$$$$/$$$$ /$$ /$$$$$$$ |"<< endl;
- cout << "| | $$$$$/ /$$__ $$| $$_ $$_ $$| $$ /$$_____/ |"<< endl;
- cout << "| | $$ $$ |$$ |$$| $$ | $$ | $$| $$| $$$$$$ |"<< endl;
- cout << "| | $$ $$ |$$ |$$| $$ | $$ | $$| $$ |______$$ |"<< endl;
- cout << "| | $$ $$| $$$$$$/|$$ | $$ | $$| $$ /$$$$$$$/ |"<< endl;
- cout << "| |__/ __/ ______/ |__/ |__/ |__/|__/|______/ | "<< endl;
- cout << "| |" << endl;
- cout << "| ASCII ART BY PETER |" << endl;
- cout << "| |" << endl;
- cout << "| Projekt Programowanie Obiektowe |" << endl;
- cout << "|Autorzy: P.Zaporowski, T.Demczuk, A.Cieniuch, K.Chmielowski|" << endl;
- cout << "+";
- cout.width(60); cout.fill('-');
- cout << "+" << endl;
- _sleep(3000);
- system("cls");
- cout << " Menu glowne podaj nr elementu: " << endl;
- cin >> n;
- switch (n)
- {
- case 1: cout << "1.Pierwszy element: " << sizeof(m); break;
- case 2: cout << "2.Pierwszy element" << sizeof(n); break;
- case 3: cout << "3.Pierwszy element" << sizeof(o); break;
- case 4: cout << "4.Pierwszy element" << sizeof(p); break;
- case 5: cout << "5.Pierwszy element" << sizeof(r); break;
- case 6: cout << "6.Pierwszy element" << sizeof(s); break;
- default: cout << "Koniec programu"; break;
- }
- _getch();
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment