#include <stdio.h>

int main() {
    float n1, n2, media;
    scanf("%f", &n1);
    scanf("%f", &n2);
    media=(n1+n2)/2;
    if(media>=7){
        printf("Aprovado");
    }
    else if(media<4){
        printf("Reprovado");
    }
    else{
        printf("Recuperacao");
    }
    return 0;
}

Embed on website

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