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.
Answers were Sorted based on User's Feedback
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 |
Answer / muhammad nawaz
#include<conio.h>
#include<stdio.h>
void main(void)
{
long int pop=80000, pop_men, pop_wom, lit, illit, lit_men,
lit_wom, illit_men, illit_wom;
clrscr();
pop_men=52*pop/100;
pop_wom=pop - pop_men;
lit=48*pop/100;
illit= pop-lit;
lit_men=35*pop/100;
lit_wom=lit-lit_men;
illit_men= pop_men – lit_men;
illit_wom= pop_wom-lit_wom;
printf(“ illiterate Men=%ld”, illit_men);
printf(“ illiterate Women=%ld”, illit_wom);
getch();
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / 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 |
Explain what a diffgram, and a good use for one Define diffgram? How it be used?
Does C# supports multi-dimensional arrays?
Oops concepts ?
2 Answers Accenture, Digital GlobalSoft,
What can you do as a .net developer?
Define delay signing?
Which types of inheritances does c# support?
What is a console application in c#?
What is predicate builder?
How many destructors can a class have?
What is datareader c#?
What is difference between virtual and override in c#?
Explain how obfuscator works in .net
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)