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
If fflush wont work, what can I use to flush input?
What is assert and when would I use it?
What extern c means?
Difference between Function to pointer and pointer to function
What is the value of c?
Why use int main instead of void main?
What is a c token and types of c tokens?
Do you know what are the properties of union in c?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
How can you tell whether two strings are the same?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is the meaning of && in c?
How many levels of pointers can you have?
Is this program statement valid? INT = 10.50;
What is a program?