male = int(input()) | |
female = int(input()) | |
total = male+female | |
ratio1 = male/total | |
ratio2 = female/total | |
print("The male students ratio is %.2f,the female students ratio is %.2f"%(ratio1*100, ratio2*100, total)) |
male = int(input()) | |
female = int(input()) | |
total = male+female | |
ratio1 = male/total | |
ratio2 = female/total | |
print("The male students ratio is %.2f,the female students ratio is %.2f"%(ratio1*100, ratio2*100, total)) |