popovIliya

March-2022-FirstStepsInCoding-Exercise-Soft Uni - USD to BGN -Currency converter

Feb 27th, 2022
1,510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function currencyConvert(input){
  2. let currency = Number(input[0]);
  3. let rate = 1.79549;
  4. let convert = currency * rate;
  5. console.log(convert);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment