igopako456
Fanatic
- Create a class that will convert a dollar to peso, the class must accept 1 value as arguments, then output the conversion use constructor and destructor method.
For example
$convert = Convert(2);
Output
2 dollar is equivalent to 100.9 pesos