Como se muestra en la imagen, ¡cómo hacerlo! ¡Es mejor usar C! Problema de programación sencillo.
#includelt; stdio.hgt;
struct?bld_tst
{char?gender[10]; float?rbc; ; flotante?hct; flotante?plt; };
void?main()
{
int, cuenta=0;
scanf("d",&k);
struct?bld_tst?sample[100];
struct?bld_tst?*p;
para (p=muestra; plt; muestra k; p )
scanf("s?f?f?f?f?f",amp;p-gt;gender,amp;p-gt ;wbc ,amp;p-gt;rbc,amp;p-gt;hgb,amp;p-gt;hct,amp;p-gt;plt);
for(p=sample;plt ;muestra k;p )
{
if(p-gt;wbcgt;10||p-gt;wbclt;4)
cuenta ;
if(p-gt;rbcgt;5.5||p-gt;rbclt;3.5)
cuenta ;
if(p-gt;pltgt;300 || p-gt; pltlt; 100)
cuenta ;
if(p-gt; género[0]=="m")
{ p>
if(p-gt;hgbgt;160||p-gt;hgblt;120)
cuenta;
if(p-gt;hctgt; 48| |p-gt;hctlt;42)
count;
}
else?if(p-gt;gender[0]==" f" )
{
if(p-gt;hgbgt;150||p-gt;hgblt;110)
cuenta;
if(p-gt;hctgt;40||p-gt;hctlt;36)
cuenta ;
}
si(cuenta= =0 )
printf("normal\n");
else
printf("d\n", recuento);
}
}