Answer:
A. The laws were written to ensure justice
Step-by-step explanation:
The Hammurabi's Code was a set of 282 rules that were created by the sixth King of the Babylonian empire, King Hammurabi with the main of establishing standards for commercial deals. The code also stated the fines and punishments for breaking the law in other to ensure justice.
Hence, the entire set of 282 rules which make up Hammurabi's Code were based on the major principle of ensuring justice.