Thursday, May 9, 2013

Average Of Three Number

/*Average Of Three Number*/
/* Suchetan Dey */

#include<stdio.h>
#include<conio.h>
    void main()
    {
        float a,b,c,d;
        printf("Enter The 3 Value For Generate The Average \n");
        scanf("%f%f%f",&a,&b,&c);
        d=(a+b+c)/3;
        printf("The Average value Is : %.2f \n",d);
        getch();
    }

The Output is :-

No comments:

Post a Comment