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.
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
T = int(input())
W=int(T*48 / 100)
print(W)
Comments
Leave a comment