Was the Atomic Bomb Dropped on Hiroshima Justified

Were the Americans justified in dropping the atomic bombs on Hiroshima and Nagasaki in August 1945? The dropping of the atomic bomb on Nagasaki and Hiroshima...