Answer: Planets A and B have a rocky mantle and an iron core. They are at a distance of 1 AU or less from the Sun. This means they are relatively close to the Sun. There are the properties of inner (terrestrial) planets. So planet A and B are inner planets.
Step-by-step explanation:
Planet C is composed if the gases hydrogen and helium. It has a high mass and is much farther from 1 AU from the sun. These properties are consistent with the outer planets. So, planet C is an outer (gas giant) planet.