//To find the number of students having the height greater than 170 and weight less than 50.
class a
{
public static void main(String args [ ])
{
int i;
int c1=0;
float wt[ ]={45.0f,55.0f,65.0f,37.6f,47.0f};
float ht[ ]={176.0f,186.0f,162.0f,192.0f,182.0f};
for(i=0;i<=4;i++)
{
if(ht[i]>170 && wt[i]<50)
{
c1++;
}
}
System.out.println("C1="+c1);
}
}