0
Any c++ programmer?
i need to ask one question from cpp programmer.
16 Answers
+ 3
you can get the input and then divide by 100, save that number and move to next step with the remainder.
+ 4
there was a challenge once to determine the sequence of coins to form a given sum, this seems to be similar. Here's my code to solve it:
https://code.sololearn.com/c4g9LAk9snrH
It's an "optimized" version and I'm sorry I don't have the link to the challenge itself, there were simpler solutions there, maybe someone else remembers it and posts it here.
+ 3
daemo, Thanks i got your logic. :)
+ 2
@amin This is not the place to advertise codes. Try going to discussions like these:
https://www.sololearn.com/Discuss/452626/?ref=app
https://www.sololearn.com/Discuss/637386/?ref=app
https://www.sololearn.com/Discuss/830853/?ref=app
+ 2
@Mustafa Shaikh If I had to infer what the code is that makes this output, it will be one that counts how many âhundredsâ (100), âfiftiesâ (50), âtensâ (10), and âonesâ (1) are in the input. Are you supposed to write a code to do this? Do you already have a code to do this? We need some more information in order to help you.
Also, you can post a link in this discussion to a code you write in the code playground so we can go take a look.
+ 1
ask
+ 1
i am not getting the logic of an question. see this output.
input is 650
6 notes of 100
1 notes of 50
0 notes of 10
0 notes of 5.
+ 1
Nopes.
+ 1
i have to see the output and have to generate this code.
+ 1
not yet.
+ 1
hi please see my codes guys
+ 1
And Thanks everbody who helped me out. :)