update
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
|
||||||
|
int grade;
|
||||||
|
|
||||||
|
printf("Enter your grade: ");
|
||||||
|
scanf("%d", &grade);
|
||||||
|
printf("Grade: %d\n", grade);
|
||||||
|
|
||||||
|
if (grade >= 80)
|
||||||
|
printf("Exellent Job!\n");
|
||||||
|
|
||||||
|
if (grade >= 60 && grade < 80)
|
||||||
|
printf("Not bad ...\n");
|
||||||
|
|
||||||
|
if (grade < 60)
|
||||||
|
printf("Oh... You didn't pass.\n");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user