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 is preprocessor with example?
Explain is it valid to address one element beyond the end of an array?
What is function pointer c?
Explain what is operator promotion?
Write a program to reverse a given number in c?
Why is main function so important?
Can we replace the struct function in tree syntax with a union?
Is c procedural or functional?
What are the disadvantages of c language?
Is null always defined as 0(zero)?
Why flag is used in c?
What are data structures in c and how to use them?
Why do we need volatile in c?
What is hungarian notation? Is it worthwhile?
what is event driven software and what is procedural driven software?