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


Please Help Members By Posting Answers For Below Questions

What is args c#?

532


Is a c# interface the same as a c++ abstract class?

562


Can we inherit two classes in c#?

505


Is c# or c++ better for games?

462


Is learning c# hard?

504






Define an abstract class?

504


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?

521


Explain the difference between const and static read-only?

502


Can we set image Source dynamically using C# in WPF application?

628


What is Implementation inheritance

516


What are custom attributes in c#?

495


What is oledbconnection c#?

490


What is strong name in c# and how can we use it?

533


What are data types with examples?

502


What are extension methods and where can we use them?

458