#include <stdio.h>
int main()
{
    int phy,che,bio, marks;
    printf("Input  the marks of Physics, Chemistry and biology : \n");
    scanf("%d%d%d",&phy,&che,&bio);
     marks = phy + che + bio;
    if (marks >= 60)
    {
        printf("The student has acquired first class");
    }
    else if ( marks < 60 && marks > 35) 
    {
        printf("The student has acquired second class");
    }
    else   
    {
        printf("The student has failed ");
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: