You are on page 1of 1

#include <stdio.

h>

int main()

int marks;

printf("Enter your marks");

scanf("%d",&marks);

if(marks>=85)

printf("A");

else if(marks>=75 && marks<85)

printf("B");

else if(marks>=60 && marks<75)

printf("C");

else

printf("D");

return 0;

You might also like