🔒 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
1,698
Total visitors
2,776

Forum statistics

Threads
2,287,384
Posts
29,044,386
Members
1,216,504
Latest member
Jolowewi
Back
Top