in a town the percentage of total men is 52. the percentage
of total literacy is 48. if total percentage of literate men
is 35 of total population. write a program to find out the
total no of illiterate men and women.

Answers were Sorted based on User's Feedback



in a town the percentage of total men is 52. the percentage of total literacy is 48. if total perce..

Answer / lalit arora

int total;
public void methods()
{
Console.WriteLine("Enter The total population");
int s = int.Parse(Console.ReadLine());
int totalman = s * 52 / 100;
int totalwoman = s * 48 / 100;
int manliteracy = s * 35 / 100;
int womanliteracy = s * 13 / 100;
total = manliteracy + womanliteracy;

}
just call this method and see the result

Is This Answer Correct ?    15 Yes 8 No

in a town the percentage of total men is 52. the percentage of total literacy is 48. if total perce..

Answer / muhammad nawaz

#include<conio.h>

#include<stdio.h>

void main(void)

{

long int pop=80000, pop_men, pop_wom, lit, illit, lit_men,
lit_wom, illit_men, illit_wom;

clrscr();

pop_men=52*pop/100;

pop_wom=pop - pop_men;

lit=48*pop/100;

illit= pop-lit;

lit_men=35*pop/100;

lit_wom=lit-lit_men;

illit_men= pop_men – lit_men;

illit_wom= pop_wom-lit_wom;

printf(“ illiterate Men=%ld”, illit_men);

printf(“ illiterate Women=%ld”, illit_wom);

getch();

}

Is This Answer Correct ?    4 Yes 4 No

in a town the percentage of total men is 52. the percentage of total literacy is 48. if total perce..

Answer / kirankanneti

int totalliteracy;
Console.WriteLine("enter the population");
int s = int.Parse(Console.ReadLine());
int totalmen = s * 52 / 100;
int totalliteracy = s * 48 / 100;
int menliteracy = s * 35 / 100;
int womenliteracy = totalliteracy - menliteracy;
totalliteracy = menliteracy + womenliteracy;

Is This Answer Correct ?    4 Yes 7 No

Post New Answer

More C Sharp Interview Questions

What is internal and protected-internal accessspecifier in c#.net?

1 Answers  


What is a protected class c#?

0 Answers  


Explain how to implement an object pool in c#.net

0 Answers  


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

0 Answers   Siebel,


Does c# supports destructors?

9 Answers   Choice Solutions,






What is autopostback in c#?

0 Answers  


How do you create multiple inheritance in C#?

5 Answers   Microsoft,


How do you declare an interface in c#?

0 Answers  


What is difference between class and abstract class in c#?

0 Answers  


Why do we need escape characters?

0 Answers  


If a child class instance is created, which class constructor is called first - base class or child class?

0 Answers  


What is the difference between dynamic type variables and object type variables in c#?

0 Answers  


Categories