🔒 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,056
Guests online
3,790
Total visitors
4,846

Forum statistics

Threads
2,351,963
Posts
29,373,911
Members
1,084,420
Latest member
ictyam
Back
Top