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
Explain About remoting and web services. Difference between them
What is tryparse?
What are the Types of configuration files and their differences
How jit (just in time) works?
Is there regular expression (regex) support available to c# developers?
Why reflection is used in c#?
Which language is used for desktop application?
What are circular references?
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge
What are the types of assembly available
Why do you need boxing in c#?
Is string passed by reference in c#?
What are winforms in c#?
Can you use all access modifiers for all types?
How Do You Convert A Value-type To A Reference-type?