Thursday, 30 August 2012

In a town, the percentage of men is 52. The percentage of total literacy is 48. If total percentage of literate men is 35 of the total population, write a program to find the total number of illiterate men and women if the population of the town is 80,000.

 long t,m,w,lm,lw,l,im,iw;
 printf("Total population = %ld\n",t);
 printf("Total men = %ld\n",m);
 printf("Total women = %ld\n",w);
 printf("Total literate men = %ld\n",lm);
 printf("Total  literate women = %ld\n",lw);
 printf("Total illiterate men = %ld\n",im);
 printf("Total illiterate women = %ld\n",iw);


1 comment: