C program for multiplication of two numbers || Functions in C || Arguments and Returns a value || C Programming
In this, we are going to see the Functions that have arguments and returns a value, this program we are going to see multiplication of two numbers using C Programming Language.


#include <stdio.h>

float multiplication(float x, float y)
{
    return x * y;
}

float main()
{
    float a, b;
    printf("Enter two numbers: \n");
    scanf("%f\n %f", &a, &b);
    printf("Multiplication is: %f", multiplication(a, b));
    return 0;
}

//.......Coded by JAIDEEP JAMBLE

#ENJOY CODING

Post a Comment

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

Previous Post Next Post