EduLearn - Online Education Platform

Welcome to EduLearn!

Start learning today with our wide range of courses taught by industry experts. Gain new skills, advance your career, or explore new interests.

Browse Courses
int pop=80000,popmen,popwomen,poplit,litmen,litwomen,ilitmen,ilitwomen;
popmen=(52*pop)/100;
popwomen=pop-popmen;
poplit=(48*pop)/100;
litmen=(35*pop)/100;
litwomen=pop-litmen;
ilitmen=pop-litmen;
ilitwomen=pop-litwomen;

In A town,the percentange 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 number of illiterate men and women if the population of the town is 80,000

βœ… Problem Summary:

  • Total population = 80,000

  • Men = 52% β†’ men = 52% of 80000

  • Women = remaining 48%

  • Total literate population = 48% β†’ literate = 48% of 80000

  • Literate men = 35% of total population β†’ literateMen = 35% of 80000

  • Find:

    • Illiterate men = total men – literate men

    • Literate women = total literate – literate men

    • Illiterate women = total women – literate women

  • public class LiteracyCalculation {
    public static void main(String[] args) {
    int totalPopulation = 80000;

    // Percentages
    double menPercent = 52;
    double totalLiteratePercent = 48;
    double literateMenPercent = 35;

    // Calculations
    int totalMen = (int)(totalPopulation * menPercent / 100);
    int totalWomen = totalPopulation – totalMen;

    int totalLiterate = (int)(totalPopulation * totalLiteratePercent / 100);
    int literateMen = (int)(totalPopulation * literateMenPercent / 100);
    int illiterateMen = totalMen – literateMen;

    int literateWomen = totalLiterate – literateMen;
    int illiterateWomen = totalWomen – literateWomen;

    // Output
    System.out.println(“Total illiterate men: ” + illiterateMen);
    System.out.println(“Total illiterate women: ” + illiterateWomen);
    }
    }

  • πŸ“Œ Output:
  • Total illiterate men: 6600
    Total illiterate women: 13600

βœ… Breakdown of Calculation:

  • Total men = 52% of 80000 = 41600

  • Total women = 80000 – 41600 = 38400

  • Literate men = 35% of 80000 = 28000

  • Illiterate men = 41600 – 28000 = 13600

  • Total literate = 48% of 80000 = 38400

  • Literate women = 38400 – 28000 = 10400

  • Illiterate women = 38400 – 10400 = 28000

Using java How to calculate illiterate people

Leave a Reply

Your email address will not be published. Required fields are marked *

EduLearn - Online Education Platform

Welcome to EduLearn!

Start learning today with our wide range of courses taught by industry experts. Gain new skills, advance your career, or explore new interests.

Browse Courses

Popular Courses

[Course Image]

Introduction to Programming

Learn the fundamentals of programming with Python in this beginner-friendly course.

12 Hours Beginner
[Course Image]

Data Science Essentials

Master the basics of data analysis, visualization, and machine learning.

20 Hours Intermediate
[Course Image]

Web Development Bootcamp

Build modern websites with HTML, CSS, JavaScript and popular frameworks.

30 Hours Beginner
[Course Image]

Digital Marketing Fundamentals

Learn SEO, social media marketing, email campaigns and analytics.

15 Hours Beginner
Educational Website Footer