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

Why do we need arrays in c?

589


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

652


Can you define which header file to include at compile time?

591


Explain how are 16- and 32-bit numbers stored?

787


What is string length in c?

618






What is merge sort in c?

649


What is atoi and atof in c?

620


Write a program to swap two numbers without using third variable in c?

620


What is FIFO?

678


to find the closest pair

1826


Can a pointer point to null?

594


What is p in text message?

544


Can true be a variable name in c?

561


swap 2 numbers without using third variable?

666


How can I open files mentioned on the command line, and parse option flags?

597