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
Do void methods have parameters?
Can c# inherit multiple classes?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
What is a c sharp?
What is the difference between paramaterized constructor and copy constructor?
What sort algorithm does c# use?
How many bytes is an int?
Does the variables of a private class-level inherited?
What is difference between c sharp and c#?
What is the solution if you need to manipulate sets of items?
What is multiple interface in c#?
Why do we need singleton class in c#?
What are extender provider components? Explain how to use an extender provider in the project.
Explain about accessibility modifier 'protected internal'?
What is razor view in c#?