#include <stdio.h>

int main() {
    float basic_salary, house_rent_percentage, total_salary;

    // Ask the user for basic salary and house rent percentage
    printf("Enter the basic salary: ");
    scanf("%f", &basic_salary);

    printf("Enter the percentage of basic salary for house rent: ");
    scanf("%f", &house_rent_percentage);

    // Calculate house rent amount
    float house_rent = (house_rent_percentage / 100) * basic_salary;

    // Calculate total salary
    total_salary = basic_salary + house_rent;

    // Display the total salary
    printf("Total salary of the employee: %.2f\n", total_salary);

    return 0;
}
