<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Estoy practicando estrcuturas tengo este ejemplo <BR>
<BR>
ingresar nombre,cedula,edad,nota1,nota2,nota3 y promedio.<BR>
<BR>
Haci lo ice esta<BR>
<BR>
#include<iostream.h><BR>#include<conio.h><BR>void main()<BR>
{<BR>struct Alumno{<BR> char Nombre [65];<BR> int Edad;<BR> int Cedula;<BR> float Nota1;<BR> float Nota2;<BR> float Nota3;<BR> float Promedio;<BR>
}Jesus;<BR> int i,cont=3;<BR> float suma=0,Promedio;<BR> <BR> {<BR> cout<<"Ingrese Apellido Nombre: ";<BR> cin>>dato[i].Nombre;<BR> cout<<"Ingrese Edad: "<<endl;<BR> cin>>dato[i].Edad;<BR> cout<<"Ingrese Cedula de Cuidadania: "<<endl;<BR> cin>>dato[i].Cedula;<BR> cout<<"Ingrese Nota1: "<<endl;<BR> cin>>dato[i].Nota1;<BR> cout<<"Ingrese Nota2: "<<endl;<BR> cin>>dato[i].Nota2;<BR> cout<<"Ingrese Nota3: "<<endl;<BR> cin>>dato[i].Nota3;<BR> cout<<"Ingrese Promedio: "<<endl;<BR> cin>>dato[i].Promedio;<BR> <BR> suma=dato[i].nota1+dato[i].nota2+dato[i].nota3;<BR> }<BR> Promedio=suma/cont;<BR>getch();<BR>}<BR>
<BR>
Ayudame corrijiendo los errores<BR>
<BR>
Gracias,<BR>
<BR>
Jesus<BR> </body>
</html>