/**
 * This exercise requires you to write a basic while loop syntax to perform a subtraction operation.
 *
 * Given a base number, your task is to subtract the subtract_value from the base_number using a while loop
 * and return the final result.
 *
 * @param base_number an integer representing the base number
 * @param subtract_value an integer representing the value to subtract from the base number
 * @return The final result after subtracting the subtract_value from the base_number
 *
 * Example:
 * If base_number = 10 and subtract_value = 3
 * The output should be 7, as 10 - 3 = 7
 *
 * Instructions:
 * 1. Initialize a variable 'result' with the value of 'base_number'
 * 2. Write a while loop that continues as long as 'result' is greater than or equal to 'subtract_value'
 * 3. Inside the loop, subtract 'subtract_value' from 'result'
 * 4. Finally, return 'result'
 */
fun whileSubtraction(base_number: Int, subtract_value: Int): Int {

    var result = base_number

    // Write your code here

    return result
}
/**
 * This exercise requires you to write a basic while loop syntax to perform a subtraction operation.
 *
 * Given a base number, your task is to subtract the subtract_value from the base_number using a while loop
 * and return the final result.
 *
 * @param base_number an integer representing the base number
 * @param subtract_value an integer representing the value to subtract from the base number
 * @return The final result after subtracting the subtract_value from the base_number
 *
 * Example:
 * If base_number = 10 and subtract_value = 3
 * The output should be 7, as 10 - 3 = 7
 *
 * Instructions:
 * 1. Initialize a variable 'result' with the value of 'base_number'
 * 2. Write a while loop that continues as long as 'result' is greater than or equal to 'subtract_value'
 * 3. Inside the loop, subtract 'subtract_value' from 'result'
 * 4. Finally, return 'result'
 */
fun whileSubtraction(base_number: Int, subtract_value: Int): Int {
/**
 * This exercise requires you to write a basic while loop syntax to perform a subtraction operation.
 *
 * Given a base number, your task is to subtract the subtract_value from the base_number using a while loop
 * and return the final result.
 *
 * @param base_number an integer representing the base number
 * @param subtract_value an integer representing the value to subtract from the base number
 * @return The final result after subtracting the subtract_value from the base_number
 *
 * Example:
 * If base_number = 10 and subtract_value = 3
 * The output should be 7, as 10 - 3 = 7
 *
 * Instructions:
 * 1. Initialize a variable 'result' with the value of 'base_number'
 * 2. Write a while loop that continues as long as 'result' is greater than or equal to 'subtract_value'
 * 3. Inside the loop, subtract 'subtract_value' from 'result'
 * 4. Finally, return 'result'
 */
fun whileSubtraction(base_number: Int, subtract_value: Int): Int {

    var result = base_number

    // Write your code here

    return result
}