Untitled
raw download clone
TEXT
views 61
,
size 493 b
#include <iostream>

using namespace std;

int main(void)
{
    int karcis;
    cout<<"MASUKKAN KARCIS :";
    cin>>karcis;

    if (karcis>=1 && karcis<=60000000)
{
        if (karcis%5==1)
           cout<<"A" <<endl;

        else if (karcis%5==2)
           cout<<"B" <<endl;

        else if (karcis%5==3)
           cout<<"C" <<endl;

        else if (karcis%5==4)
           cout<<"D" <<endl;

        else
           cout<<"E" <<endl;
}

}
close fullscreen
Login or Register to edit or fork this paste. It's free.