Ulcer in stomach is caused due to the damage of mucous membrane in the stomach. The gastric acids secreted in…