Read-10-number-from-keybord-and-count-pos.-and-neg-using-while-loop
#include<stdio.h>;
void main()
{
int N,i,pos,neg;
neg=pos=0; // if we not give zero than
// there would be some gurbage value in these
i = 1;
while( i <= 10 )
{
printf("Enter a number N :");
scanf("%d",&N);
if( N >; 0)
pos = pos+1;
else
neg = neg+1;
i = i+1;
}
printf("Positive Number are %d,and Negetive Number are %d.",pos,neg);
}