What's new

PHP Guys pa help naman po kung paano ito sa marunong sa PHP

igopako456

Established
Joined
Jan 12, 2021
Posts
179
Reaction
32
  1. 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
 
Top