Dev - C++ - AYUDA CON MI CODIGO

 
Vista:

AYUDA CON MI CODIGO

Publicado por Alejandro Sequera (24 intervenciones) el 08/05/2019 05:08:20
TENGO ERROR EN TODO EL CODIGO

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <math.h>
#include <iostream>
void main()
{
	float calif,suma=0,prom;
	int i=1,uni=1,resul=0;
	while (i<=40)
	{
		while (uni<=5)
		{
		gotoxy(35,1); cout<<"ALUMNO # " < cout<<"\n\nDigite la nota obtenida en la unidad "
		<>calif;
		gotoxy(40,3); cout<<" ";
		suma=suma+calif;
		uni++;
		}
	if (uni==6)
	uni=1;
	i++;
	prom=suma/5;
	if (prom>=3.0)
	resul++;
	suma=0;
	}
	clrscr();
	cout< getch();
}
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder