INFORMATICA GA M3 S1 - Colegio de Estudios Científicos y ...
INFORMATICA GA M3 S1 - Colegio de Estudios Científicos y ...
INFORMATICA GA M3 S1 - Colegio de Estudios Científicos y ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
}<br />
if (edad>=18)<br />
else<br />
printf(“Pue<strong>de</strong>s votar”);<br />
printf(“Eres un niño”);<br />
getch();<br />
4. Escribir el siguiente código <strong>de</strong>purando los errores que tiene.<br />
#inclu<strong>de</strong><br />
#inclu<strong>de</strong><br />
main()<br />
{<br />
int cont=1,d;<br />
float s=0,p;<br />
clrscr();<br />
do<br />
{<br />
printf("Dame el numero %d ",cont)<br />
scanf("%d",d);<br />
s=s+d;<br />
cont+;<br />
}while(c