#include<stdio.h>
#include<conio.h>
int main ()
{
float vize1,vize2,final,avarage;
printf("enter vize1,vize2 and final");
scanf("%f%f%f",&vize1,&vize2,&final);
avarage=(vize1+vize2+final)/3;
if (avarage>=80)
printf("you passed with 'A':%f",avarage);
else if(avarage>=70)
printf("you passed with 'B':%f",avarage);
else if(avarage>=60)
printf("you passed with 'C':%f",avarage);
else if(avarage>=50)
printf("you passed with 'D':%f",avarage);
else
printf("you failed with 'F':%f",avarage);
getch;
return 0;
}