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.
Answer Posted / 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 |
Post New Answer View All Answers
How do you access a constant field declared in a class?
What is a thread c#?
What is thread and explain states of a thread in c#?
How to properly clean up excel interop objects?
Is as keyword in c#?
How do I declare a pure virtual function in c#?
What is concrete class in c# with example?
Can I define my own exceptions?
What is the difference between the debug class and trace class? Documentation looks the same.
What is generic types in c#?
What is a collection class in c#?
Is comparable a functional interface?
What are anonymous types in c#?
What is class method?
What is a statement c#?