Knowee
Questions
Features
Study Tools

write a program to compute the smallest number notes that will combine to give rs N. as notes are re1 rs2 rs5 rs10 rs 50 rs 100

Question

write a program to compute the smallest number notes that will combine to give rs N. as notes are re1 rs2 rs5 rs10 rs 50 rs 100
🧐 Not the exact question you are looking for?Go ask a question

Solution 1

Sure, here is a Python program that calculates the smallest number of notes that will combine to give a certain amount:

def calculate_notes(N):
    notes = [100, 50, 10, 5, 2, 1]
    note_counter = [0, 0, 0, 0, 0, 0]
 
    print ("Currency Count -> ")
 
    for i, j in zip(notes, note_cou
    Knowee AI  is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI  is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI  is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI  is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI  is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI  

This problem has been solved

Similar Questions

How many different sums of money can be formed from the four type of notes Rs 10, Rs 20, Rs 50 and Rs 100 ?

Write a C program to compute:§ (a) Simple Interest, S.I = Principal*Rate*Time/100§ (b) Compound Interest C.I = P(1+(r/n))nt25

A sum of Rs.3200 invested at 10% p.a. compounded quarterly amounts to Rs.3362. Compute the time period.Options 12 years2 years 34 year1 year

The number of ways that we can permute n items into 5 spots is _______ times the number of ways that we can combine n items into 5 spots.

A sum of Rs. 312 was divided among 100 boys and girls in such a way that the boy gets Rs. 3.60 and each girl Rs. 2.40 the number of girls is

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.