Rakeshgombi / Hactoberfest-2021

Repository for Hactoberfest
https://hacktoberfest.digitalocean.com/
22 stars 90 forks source link

coin change - find minimum number of coins #140

Closed sumitdahiya619 closed 2 years ago

sumitdahiya619 commented 2 years ago

It can be run using vs code and gives the correct output. First it accepts n which is the number of coins, then the value of the coins and last the sum which is to be made using the coins. The output will give the minimum number of coins used to make that sum.

sumitdahiya619 commented 2 years ago

Or should i instead of accepting the input from the user take an example and print its output?

Rakeshgombi commented 2 years ago

Or should i instead of accepting the input from the user take an example and print its output?

ok provide predefined test cases and and then upload it

sumitdahiya619 commented 2 years ago

Changed as requested.