#include<stdio.h>
#include<conio.h>
void main()
{
float a,b,c,d,e,f,avg;
clrscr();
printf(“enter the marks obtained in five subjects respectively : “);
scanf(“%f%f%f%f%f”,&a,&b,&c,&d,&e);
avg=(a+b+c+d+e)/5;
if(avg<35)
{
printf(“Average is %f student is fail.”,avg);
}
else
{
printf(“Average is %f student is pass.”,avg);
}
getch();
}