#include<stdio.h>
int main() {
    int yearsofservice;
    printf("Enter the number of years of service:");
    scanf("%d",&yearsofservice);
    if (yearofservice < 1) {
        printf("Invalide input\n");
    }else if (yearsofservice >= 1 && yearsofservice <= 5);{
        printf("5%% Bonus\n");
    } else if (yearsofservice >= 6 && yearsofservice <= 10);{
        printf("10%% Bonus\n");
    } else { 
        printf("15%% Bonus\n");
    }
    return 0;
}