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 / 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 View All Answers
What is dll in c#?
Is string passed by reference in c#?
In c#, what will happen if you do not explicitly provide a constructor for a class?
How to find the current application file path while runtime?
list the steps in code compilation in c#?
Can we create extension method for interface?
Why do we Need of static class in c#?
Does c# support multilevel inheritance?
Define c# i/o classes? List the commonly used classes?
What is the use of GC.KeepAlive Method?
Is a decimal an integer?
Why we use dll in c#?
What are the different types of delegates?
What is predicate builder?
What is difference between ienumerable and list?