By Penakacherla RaviTeja Yadav
The programming language used in the source code is Java. This program converts the Indian rupee into the currency selected by the user among the available list of currencies.
This program converts the Indian rupee into the currency selected by the user among the available list of currencies. Users can also add the currency and its exchange rate with the Indian rupee to the program and use it later for conversion. Users can also delete the particular currency from the available list of currencies. ArrayList collection is used to dynamically store values in the array. We get converted currency by multiplying Indian currency with the exchange rate.
ADDING CURRENCY :
- add() Function adds the currency to the list of currencies. To add currency enter the name of currency and its exchange rate with the Indian rupee after selecting add currency option.
- remove() Function deletes the currency from available list
NOTE :
While entering the name, if there is a space in name of currency use UNDERSCORE in the place of space.
Submitted by Penakacherla RaviTeja Yadav (Raviteja528)
Download packets of source code on Coders Packet
Comments