Answer to Question #228031 in Python for kaavya

Question #228031

Women Population

In a town, the percentage of men is 52 and the rest are women(W). The total population(T) of town is given as input. Write a program to print the total number of women in the town.

Input

The first line of input is an integer T.

Output

The output should be an integer representing the total number of women in the town.

Explanation

Given total population

80000. Then the number of women should be 80000 x 48 / 100 = 38400 So the output is 38400.

Sample Input 1

80000

Sample Output 1

38400

Sample Input 2

100000

Sample Output 2

48000




1
Expert's answer
2021-08-20T14:31:19-0400
T = int(input())
W=int(T*48 / 100)
print(W)





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS