Código
include <stdio.h> #include <conio.h> #include <math.h> #include <stdlib.h> #include <string.h> int conv() { char frase[200]; int cont,x,y,lon,cont2; for(x=0;x<=lon;x++) { if(frase[x]=='a') { cont=cont+1; return cont; } } } main() { int z; z=conv(); return 0; }
· Los códigos deben ir en etiquetas GeSHi
>aquí las reglas del foro
-Engel Lex