شباب في سؤال مش عارف أحلوا وبدي مساعدتكم , السؤال كل تالي:-
A famous computer science problem is the coin minimization problem. Given a set of coin values (e.g., 1, 5, 10, 25, 50 or 2, 3, 8, 25, 40), and a particular price, find the fewest coins that make that particular value. For example, given coin values of 2, 3, 8, 25, 40, the fewest coins to make a value of 19 is 3 (8, 8, and 3) and the fewest coins to make a value of 50 is 2 (25 and 25).
لو تعطوني algorithim أو كود سي++ أو جزء من الكود أو أي تلميح بكون ممنونكم وشكرا جزيلاً