( nns | 2025. 09. 03., sze – 20:25 )

Marci az előrejelzései alapján valami ilyet írna: 

int kozpenz(int fizetes) {
    
    srand(time(NULL));
    int szazalek = rand() % 55;  
    int ado = fizetes * szazalek / 100;

    return ado;
}