/**
 * This function calculates the resolution of an image based on its width and height.
 * The condition is that the width should be greater than 0.
 *
 * @param width The width of the image.
 * @param height The height of the image.
 * @return The resolution of the image.
 *
 * Example:
 * calculateImageResolution(1920, 1080) -> 2073600
 */
fun calculateImageResolution(width: Int, height: Int): Int {

    return if (width > 0) {
        width * height
    } else {
        0
    }
}
/**
 * This function calculates the resolution of an image based on its width and height.
 * The condition is that the width should be greater than 0.
 *
 * @param width The width of the image.
 * @param height The height of the image.
 * @return The resolution of the image.
 *
 * Example:
 * calculateImageResolution(1920, 1080) -> 2073600
 */
fun calculateImageResolution(width: Int, height: Int): Int {
/**
 * This function calculates the resolution of an image based on its width and height.
 * The condition is that the width should be greater than 0.
 *
 * @param width The width of the image.
 * @param height The height of the image.
 * @return The resolution of the image.
 *
 * Example:
 * calculateImageResolution(1920, 1080) -> 2073600
 */
fun calculateImageResolution(width: Int, height: Int): Int {

    return if (width > 0) {
        width * height
    } else {
        0
    }
}