The various types of chocolates in the market are made by adjusting the ratios of cocoa butter, cocoa powder, sugar,…