Friday, May 11, 2012

Expression Evaluation: Count 25 paisa, 50 paisa

Hello Friends!! How are you all? Hope, you all are well by the grace of Almighty. Today we solve a paisa  problem. Let's look at the problem and solve.

Problem: In Bangladesh previously ( Before 5 taka and 1 taka ) the most accepted coins were 50 paisa and 25 paisa. Write a program that will input the total amount in taka and convert it to 50 paisa coins and 24 paisa coins.


Sample input and Output:


Enter amount: 4.75
50 paisa coins: 09
25 paisa coin: 01


Solve:




















Thank you all..:)

0 comments:

Post a Comment