Planificación fiscal
void main()
{ printf(" * * * * * * * * * * * * * * * * * * * * * * * * \ n ");
printf(" * * \ n ");
printf("*¡Hola! Mundo!* \ n "); p>
p>
printf(" * * \ n ");
printf(" * * * * * * * * * * * * * * * * * * * * * * * * \ n ");
}
2.#Contiene "stdio.h"
void main()
{int i, j ;
for(I = 0;i<8;i++)
{ for(j = 0;j<i;j++)
{ printf (" * ");}
printf(" \ n ");}}
#Contiene "stdio.h"
void main()
{int n, I, j;
scanf("%d ", & ampn;
for(I = 0; i & ltn; i++ )
{ for(j = 0; j & ltn; j++)
{ printf(" * ");}
printf(" \ n " );}
}
3.#Contiene "stdio.h"
void main()
{float t, s , a;
printf("entrada:t, s ");
scanf("%f%f ", &t & s); a = 2.0 * s/(t * t);
printf("a=%.2f ",a);
}
4 .# Contiene "stdio.h"
void main()
{int a[10], I, max, min
for(I = 0 ;i<10 ;i++)
scanf("%d ",&a[I]);
max = a[0]; >for(I = 1;i<10;i++)
{ if(max & lt;a[I])max = a[I];
if(min & gt; a[I])min = a[I];}
printf("max=%d, min=%d ",max, min);
}
5.#Contiene "stdio.h"
void main()
{int a[10], I, cout = 0 ;
for(I = 0;i<10;i++)
scanf("%d ",&a[I]);
for( I = 0;i<10;i++) p>
{si (! (a[I]% 2))cout++;}
printf("cout=%d ",cout);
}
6.#Contiene "stdio.h"
void main()
{int x, y
y = (50-2 * 20)/2; p> p>
x = 20-y;
printf("%d,%d ",x,y);
}