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
What does typedef struct mean?
What is #include stdio h?
Which node is more powerful and can handle local information processing or graphics processing?
Can we declare variable anywhere in c?
What is the difference between c &c++?
What is mean by data types in c?
What does %2f mean in c?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Write a program to use switch statement.
What is the use of getch ()?
Define circular linked list.
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Is fortran faster than c?
Explain how do you declare an array that will hold more than 64kb of data?
what are bit fields in c?