Division of two numbers in c || Arithmetic programs || C programming
Here we are going to see Division two numbers in C Programming Language.

#include <stdio.h>

void main()
{
    //Variable declaration
    int num1, num2, result;
    printf("Enter two numbers: ");

    //Taking User input
    scanf("%d %d", &num1, &num2);

    //Calculating Division
    result = num1 / num2;

    //Printing Answer
    printf("The Division of two numbers is: %d", result);
}

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post