#include <stdio.h>
int main(){
//23. Read five persons height and weight and count the number of //person having height greater than 170 and weight less than 50,
printf("\tNumber Of Person Having Height Greater Than 170 And Weight Less Than 50");
printf("\n====================================================================================");
int height,weight,i,n=0;
for (i=0;i<5;i++){
printf("\n\nEnter The Height Of Person [%d] : ",i+1);
scanf("%d",&height);
printf("\nEnter The Weight Of Person [%d] : ",i+1);
scanf("%d",&weight);
printf("____________________________________________");
if(height>170 && weight<50){
n++;
}
}
printf("\n\n______________________________________________________________________________");
printf("\n\n%d Person Having Height Greater Than 170 And Weight Less Than 50",n);
printf("\n\n______________________________________________________________________________\n\n");
return 0;
}