#include <stdio.h>

int main(){

    float nota, soma = 0, media;
    int contador = 1;

    while (contador <= 3 ){
        printf("Digite a %dº nota: \n", contador);
        scanf("%f", &nota);
        soma += nota;
        contador++;
    }

    media = soma / 3;

    printf("Sua média final nesse bimestre foi: %f\n", media);

    
    return 0;
}

Embed on website

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