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
What is class method c#?
Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.
What is singleordefault c#?
Explain how can I get around scope problems in a try/catch?
What is ildasm and obfuscator in net?
What's the difference between class and object?
What is meant by console programming?
Explain jagged arrays in c#?
Distinguish between continue and break statement?
Why do we need interfaces in c#?
What is the difference between function and method in c#?
Explain the use of SN.exe
Can we inherit a class with private constructor in c#?
Define constructor in c#.
What is action c#?