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 the components of window?
What is the use of console?
How do I do implement a trace and assert?
What is the difference between early binding and late binding in c#?
User's session is explicitly killed by which method ?
How can you reference current thread of the method ?
What is function c#?
What are functions c#?
What is the difference between “finalize” and “finally” methods in c#?
How many types of namespaces available in version4?
Explain different properties of object oriented systems.
How to reduce image resolution in C#?
How does bitwise work?
Is null in c#?
Illustrate race condition?