Write a program to display student credits (first class, distinction) based on attendance and percentage of marks (hint : assume attendance =60,marks=75 then first class and attendance =75,marks=85 then distinction)
Program
#include<stdio.h>
void main()
{
float marks,attendence;
printf(" enter marks value:");
scanf("%f",&marks);
printf("enter attendence value:");
scanf("%f",&attendence);
if(marks==85&&attendence==75)
{
printf("student got distinction:");
}
else
{
printf("student got first class\n");
}
}


0 Comments
మీకు edit చేసి ఫొటోస్, వీడియోస్, ఇంకా దెని గురించి అన్నా ఇన్ఫర్మేషన్ కావాలీ అంటే Plz comment చేయండి