Corregir el siguiente programa si tiene errores
Publicado por Edwin Riveros (2 intervenciones) el 10/09/2020 01:49:32
3. Corregir el siguiente programa si tiene errores:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* programa que genera las notas promedio de un estudiante */
#include
#include
main(){
float N,B1,B2,B3,B4;
printf(" \n ingresar nota primer bimestre:";B1;
printf (" \n ingresar nota segundo bimestre:";B2);
printf( \n ingresar nota tercer bimestre: B3);
printf(" \n ingresar nota cuarto bimestreB4);
N=(B1+B2+B3+B4)/4;
printf(" \n su nota final es: N);
If (N>=3):
printf(" \n felicidades esta aprobado";
else
printf(" \n perdiste la asignatura");
}
Valora esta pregunta


0