Computer Science, asked by omm691, 1 year ago

please help me in doing this programming

Attachments:

Answers

Answered by amanpathak8833
0

Answer:

there will be put if condition

logic is here

Explanation:

int result;

char str [30];

printf("Enter the name of student");

scanf ("%c",str [30]);

printf ("Enter the percentage of student");

scanf ("%d",&result);

if (result>80)

{

printf ("Grade A");

}

if (result>60)

{

printf ("Grade B");

}

if (result<60)

{

printf ("Grade C");

}

else

{

printf ("Fail/No Grade");

}

hope it will help you❤❤❤

Similar questions