Atomic weapons used on the cities of Hiroshima and Nagasaki in August of 1945.

Japan surrendered to the United States shortly after atomic weapons were used on the cities of Hiroshima and Nagasaki in August of 1945. Nearly 150,000 civilians died in the bombings. Considering the effects of World War II, was the use of atomic weapons on Japan justified?