in a town the percentage of total men is 52. the percentage
of total literacy is 48. if total percentage of literate men
is 35 of total population. write a program to find out the
total no of illiterate men and women.
Answer Posted / muhammad nawaz
#include<conio.h>
#include<stdio.h>
void main(void)
{
long int pop=80000, pop_men, pop_wom, lit, illit, lit_men,
lit_wom, illit_men, illit_wom;
clrscr();
pop_men=52*pop/100;
pop_wom=pop - pop_men;
lit=48*pop/100;
illit= pop-lit;
lit_men=35*pop/100;
lit_wom=lit-lit_men;
illit_men= pop_men – lit_men;
illit_wom= pop_wom-lit_wom;
printf(“ illiterate Men=%ld”, illit_men);
printf(“ illiterate Women=%ld”, illit_wom);
getch();
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is private variable?
What is a static property. Give an example?
What is lock in c#?
What is class sortedlist underneath?
What is different between Boxing and Unboxing?
What is the difference between User controls and Custom Controls?
What is exe file in c#?
Why do we need static in c#?
What is the difference between Decorator and Adapter pattern?
What is int parse in c#?
What is cls, cts and clr in net?
what is the Difference between the public and private ?
What is the difference between method and function in c#?
How does dll hell solve in .net?
Why do we need structs in c#?