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


Please Help Members By Posting Answers For Below Questions

What does typedef struct mean?

654


What is #include stdio h?

677


Which node is more powerful and can handle local information processing or graphics processing?

819


Can we declare variable anywhere in c?

533


What is the difference between c &c++?

643






What is mean by data types in c?

547


What does %2f mean in c?

672


What is the difference between declaring a variable by constant keyword and #define ing that variable?

2695


Write a program to use switch statement.

654


What is the use of getch ()?

629


Define circular linked list.

567


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1293


Is fortran faster than c?

572


Explain how do you declare an array that will hold more than 64kb of data?

897


what are bit fields in c?

599