#include <stdio.h>
int main()
{
int n;
printf("Enter the CGPA of student(8,10,7) : \n");
scanf("%d",&n);
switch (n)
{
case 8:
{printf("YOU GOT 8 CGPA\n");
break;}
case 10:
{printf("YOU GOT 10 CGPA\n");
break;}
case 7:
{printf("YOU GOT 7 CGPA\n");
break;}
default:
{printf("wrong input");}
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: