Statistics
1 Question
0 Answers
RANK
187,819
of 301,447
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 21,284
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,609
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
Hi there, can anyone help me create a function which calculates the least amount of notes and coins needed for any amount entered in ATM please ?
%variables Amount = X Notes = [50 , 20 , 10 , 5]; Coins = [2,1,0.50,0.20,0.10,0.05,0.01];
5 years ago | 1 answer | 0