#include <stdio.h>

int main() {
    int a;
    scanf("%d",&a);
    printf("enter your CGPA\n");
    switch(a)
        case 8:
        printf("your obtained CGPA is 8");
        break;

            case 10:
            printf("your obtained CGPA is 10");
            break;
            case 7:
            printf("your obtained CGPA is 7");
            break;
        default:
        printf("your CGPA is not 7,8 or 10");
        break;
        
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: