I need prog. will accept dollar value & convert it to peso using "BREKDOWN"

Write a program that will accept a dollar value and convert it to peso equivalent to 1dollar=44.76
using "BREKDOWN" the peso equivalent into its peso denomination
The sample output should be:
_____________________________________________________________________________
_______Enter dollar value:(e.g 1000)____________________Peso Exchange rate:44760.000
=======================Breakdown into peso denomination===================

1000_______________4______________4*1000_________________40000
500________________0_____________ 0 ______________________0
200________________2______________2*500___________________400
100________________0______________0_______________________0
50_________________1______________1*50____________________50
20_________________1______________1*20____________________20
10_________________0______________0_______________________0
5__________________1______________1*5_____________________5
1__________________1______________1*1_____________________1
--------------------------------------------------------------------------peso: 44760.000
Hi, nice task, should be easy to do.

Btw. Your example is wrong. The values add up to 4,476.00 Pesos.

So, here is how this works:

1st: Get an idea of what to do.
2nd Make some Pseudo-Code
3rd Programm the thing.
4th Test your software during coding

5th If you encounter specific problems, then ask for help by:
a) showing the respective code
b) describing the exact problem.

then, and only then,
6th will we help.

Regards

int main
thank you for your reply
Topic archived. No new replies allowed.