115k views
5 votes
Write a python program to input money in Bahrain dinar and find out number of denominations can be used to make that money.

For example: -
Enter total money in BD: 76
Then the output Should be :
No.of 20 BD : 3
No.of 10 BD : 1
No.of 5 BD : 1
No.of 1 BD : 1

Pls answer fast

User Pooria
by
4.6k points

2 Answers

4 votes

Answer: There are various ways to earn money online in Bangladesh. Here are some options you can explore:

Freelancing: Freelancing is one of the most popular ways to earn money online in Bangladesh. You can offer your skills and services on various freelance platforms such as Upwork, Fiverr, and Freelancer. You can offer services such as content writing, graphic designing, web development, data entry, and more.

Affiliate marketing: You can earn money by promoting products and services through affiliate marketing. You can join affiliate programs of various companies such as Amazon, Clickbank, and ShareASale and earn commission on the sales made through your unique affiliate link.

User Ben Cox
by
4.7k points
4 votes

n = int(input("Enter total money in BD: "))

n20 = n//20

n10 = (n-(n20*20))//10

n5 = (n - ((n20*20)+(n10*10)))//5

n1 = (n - ((n20*20)+(n10*10) + (n5*5)))//1

print("No. of 20 BD: "+str(n20))

print("No. of 10 BD: "+str(n10))

print("No. of 5 BD: "+str(n5))

print("No. of 1 BD: "+str(n1))

Write a python program to input money in Bahrain dinar and find out number of denominations-example-1
User MarZab
by
4.7k points