Joan found a large metal bar that weighed 36 grams. Joan was also able to determine that the bar had 18 grams of zinc. What percent of the weight to the weight of the bar was zinc.