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 asax file in c#?
What is the difference between internal and protected in c#?
What is uint64_t?
Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.
Can we inherit two classes in c#?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
What is difference between dictionary and hashtable?
Can mvc be used for desktop applications?
What is the process of Serialization?
What are the advantages of generics in c#?
What is the difference between public, static, and void?
Can abstract classes be final?
Explain About DTS package
What is the difference between system.string and system.text.stringbuilder classes?
What is the boxing and unboxing in c#?