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
Why do we need arrays in c?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
Can you define which header file to include at compile time?
Explain how are 16- and 32-bit numbers stored?
What is string length in c?
What is merge sort in c?
What is atoi and atof in c?
Write a program to swap two numbers without using third variable in c?
What is FIFO?
to find the closest pair
Can a pointer point to null?
What is p in text message?
Can true be a variable name in c?
swap 2 numbers without using third variable?
How can I open files mentioned on the command line, and parse option flags?