in a town the percentage of men is 52 the percentage of
total literacy is 48 if total percentage of literate men is
35 of the total population write a program to find the
total no of the literate men and women if the population of
the town is 80000
Answer Posted / sonu
#include<stdio.h>
#include<conio.h>
void main()
{
float men,wmen,lit,illit,lit_men,lit_wmen,illit_men,illit_wmen,tot_pop;
men=80000*0.52;
wmen=80000-men;
lit=80000*0.48;
illit=80000-lit;
lit_men=80000*0.35;
lit_wmen=lit-lit_men;
illit_men=men-lit_men;
illit_wmen=wmen-lit_wmen;
printf("Total No. Illiterate men = %f",illit_men);
printf("
Total No. Illiterate woman = %f",illit_wmen);
getch();
}
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
How do you view the path?
If null and 0 are equivalent as null pointer constants, which should I use?
Explain why c is faster than c++?
Explain modulus operator. What are the restrictions of a modulus operator?
What is getch?
What is the scope of local variable in c?
Explain how can I open a file so that other programs can update it at the same time?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
difference between Low, Middle, High Level languages in c ?
how do you programme Carrier Sense Multiple Access
Write a program to print factorial of given number using recursion?
Difference between linking and loading?
How can I do peek and poke in c?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Explain logical errors? Compare with syntax errors.