#include <iostream>
using namespace std;
int main() {
    cout << "Co miałeś na pólrocze z maty?" << endl;
    int ocena;
    cin>>ocena;
    cout << "Udzieliłeś odpowiedzi:" << ocena<< endl;
    if (ocena==1)
        cout << "Prawie geniusz!" << endl;
    if (ocena==2)
        cout << "Prawidłowo!" << endl;
    if (ocena==3)
        cout << "Nie jest źle!" << endl;
    if (ocena==4)
        cout << "Może być!" << endl;
    if (ocena==5)
        cout << "Super!" << endl;
    if (ocena==6)
        cout << "Jesteś niesamowity!" << endl;
    if (ocena<1)
        cout << "To chyba niedopuszczalne!" << endl;
    if (ocena>6)
        cout << "To niemożliwe!" << endl;
    
        
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: