Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Homework NoEffort
Of the 1000 of population of a town, 60%are males of whom 20% are literate. If of all the population 25% are literate , the what percent of the female of the are literate
Posted 7-Nov-12 19:42pm
Edited 7-Nov-12 22:45pm
Legor5.6K
v3
Comments
nv3 at 8-Nov-12 3:33am
   
This is not the place for pasting your homework. Nor has it to do with programming.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It doesn't seem like a programming problem. It's a simple math problem. It can be something like:

double maleLiterateFraction = (60 / 100) * (20 / 100); // 60% * 20%
double femaleLiterateFraction = 0.25 - maleLiterateFraction; // 25% - (male's literate percent)
double femaleLiteratePercent = femaleLiterateFraction * 100; // Convert fraction to percents

For more information about percentages see: http://www.mathsisfun.com/percentage.html[^].

  Permalink  
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100