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 args c#?
Is a c# interface the same as a c++ abstract class?
Can we inherit two classes in c#?
Is c# or c++ better for games?
Is learning c# hard?
Define an abstract class?
If I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application?
Explain the difference between const and static read-only?
Can we set image Source dynamically using C# in WPF application?
What is Implementation inheritance
What are custom attributes in c#?
What is oledbconnection c#?
What is strong name in c# and how can we use it?
What are data types with examples?
What are extension methods and where can we use them?