Body: Typhoid is a commonly caused due to bacterial disease that is transmitted by the ingestion of food or water…