C program for division of two numbers || Functions in C || Arguments but No Return value || C Programming
In this, we are going to see the Functions that have arguments but no return value, this program we are going to see division of two numbers using C Programming Language.



#include <stdio.h>
float div(float x, float y)
{
    printf("Division is: %f", x/y);
}

float main()
{
    float a, b;
    printf("Enter 2 numbers: \n");
    scanf("%f\n%f", &a, &b);
    div(a,b);
    return 0;
}
//.......Coded by YASH ALLAPURIA


#ENJOY CODING

Post a Comment

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

Previous Post Next Post