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 difference between dll and exe in c#?
Explain about finalize method?
What you mean by inner exception in c#?
What is difference between mutable and immutable in c#?
What is the base class from which all value types are derived?
Can you mark static constructor with access modifiers?
What are types in c#?
What is the relationship between a process, application domain, and application?
Are c# destructors the same as c++ destructors?
What is escape sequence in c#?
What can we do to handle multiple exceptions?
Are attributes inherited c#?
Is c# 8 released?
What is the difference between const and readonly in c#.net?
What is private variable?