Define a function currencyConverter
that takes two arguments an amount and a currency (USD, GBP, EGP, BD) and returns the converted version of the amount in Riyals. Use the if-then-else construct available in Javascript.
Hint :
- 1 Riyal = 4.68 Egyptian pound
- 1 Riyal = 0.10 Bahraini dinar
Write a function isCharacterAVowel
that takes a character (i.e. a string of length 1) and returns true if it is a vowel and false, otherwise.
Define a function pow
that replicates the Math.pow() method in JavaScript's Math object.
Your opinion for this homework is very important! Please fill up the following questions when you pull request:
- on a scale from 1 to 5, how comfortable were you with this assignment?
- What was a win you had with this assignment?
- What was a challenge you had with this assignment?
- Is there anything that you'd like some further information on?
- Other stuff on your mind? work with anyone? tell us about it!
https://github.com/SEI2-jeddah/General/tree/master/homework_submission