man write c

#include <stdio.h>

// Function to calculate the sum of two numbers
int add(int a, int b) {
    return a + b;
}

// Function to calculate the difference between two numbers
int subtract(int a, int b) {
    return a - b;
}

// Function to calculate the product of two numbers
int multiply(int a, int b) {
    return a * b;
}

// Function to calculate the quotient of two numbers
float divide(int a, int b) {
    if (b != 0) {
        return (float)a / b;
    } else {
        printf("Error: Division by zero\n");
        return 0;
    }
}

int main() {
    // Declare and initialize two numbers
    int num1 = 10, num2 = 5;

    // Calculate and print the sum of the two numbers
    int sum_result = add(num1, num2);
    printf("Sum: %d\n", sum_result);

    // Calculate and print the difference between the two numbers
    int subtract_result = subtract(num1, num2);
    printf("Difference: %d\n", subtract_result);

    // Calculate and print the product of the two numbers
    int multiply_result = multiply(num1, num2);
    printf("Product: %d\n", multiply_result);

    // Calculate and print the quotient of the two numbers
    float divide_result = divide(num1, num2);
    printf("Quotient: %f\n", divide_result);

    return 0;
}