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

Status
Not open for further replies.

igopako456

Fanatic
  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
 
Status
Not open for further replies.

About this Thread

  • 8
    Replies
  • 1K
    Views
  • 6
    Participants
Last reply from:
Daniel_Pogi

Trending Topics

Online now

Members online
1,078
Guests online
2,855
Total visitors
3,933

Forum statistics

Threads
2,307,688
Posts
29,180,511
Members
1,192,568
Latest member
sundar
Back
Top