Question: Write the PHP code that will generate the outcome shown below. You have two arrays already declared with the following information: $currencies = array( CAD
Write the PHP code that will generate the outcome shown below. You have two arrays already declared with the following information:
$currencies = array( "CAD" => "Canadian Dollar",
"NZD" => "New Zealand Dollar",
"USD" => "US Dollar");
$rates = array( "CAD" => 0.97645,
"NZD" => 1.20642,
"USD" => 1.0 );
The form fields are as follows:
Conversion amount: srcamt
Base currency: basecurr
Destination currency: destcurr

Convert 100 Dollar to New Zealand Dollar Do lt! Conversion Results 100.00 Canadian Dollar converts to 123.55 New Zealand Dollar
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
