/**
 * As a social worker, you are responsible for calculating your monthly salary based on the total number of
 * hours worked and your hourly rate.
 *
 * Your task is to complete the code which takes the inputs 'hoursWorked' and 'hourlyRate' and returns
 * the monthly salary as per the given rates.
 *
 * The monthly salary can be calculated using the formula:
 * monthlySalary = hoursWorked * hourlyRate
 *
 * @param hoursWorked The total number of hours worked in a month.
 * @param hourlyRate The hourly rate in dollars for the social worker.
 * @return The calculated monthly salary of the social worker.
 *
 * Example:
 * calculateSocialWorkerSalary(160, 15)
 * Output: 2400.0
 */
fun calculateSocialWorkerSalary(hoursWorked: Int, hourlyRate: Float): Float {

    // Calculate the monthly salary
    val monthlySalary = hoursWorked * hourlyRate
    return monthlySalary
}
/**
 * As a social worker, you are responsible for calculating your monthly salary based on the total number of
 * hours worked and your hourly rate.
 *
 * Your task is to complete the code which takes the inputs 'hoursWorked' and 'hourlyRate' and returns
 * the monthly salary as per the given rates.
 *
 * The monthly salary can be calculated using the formula:
 * monthlySalary = hoursWorked * hourlyRate
 *
 * @param hoursWorked The total number of hours worked in a month.
 * @param hourlyRate The hourly rate in dollars for the social worker.
 * @return The calculated monthly salary of the social worker.
 *
 * Example:
 * calculateSocialWorkerSalary(160, 15)
 * Output: 2400.0
 */
fun calculateSocialWorkerSalary(hoursWorked: Int, hourlyRate: Float): Float {
/**
 * As a social worker, you are responsible for calculating your monthly salary based on the total number of
 * hours worked and your hourly rate.
 *
 * Your task is to complete the code which takes the inputs 'hoursWorked' and 'hourlyRate' and returns
 * the monthly salary as per the given rates.
 *
 * The monthly salary can be calculated using the formula:
 * monthlySalary = hoursWorked * hourlyRate
 *
 * @param hoursWorked The total number of hours worked in a month.
 * @param hourlyRate The hourly rate in dollars for the social worker.
 * @return The calculated monthly salary of the social worker.
 *
 * Example:
 * calculateSocialWorkerSalary(160, 15)
 * Output: 2400.0
 */
fun calculateSocialWorkerSalary(hoursWorked: Int, hourlyRate: Float): Float {

    // Calculate the monthly salary
    val monthlySalary = hoursWorked * hourlyRate
    return monthlySalary
}