PHP calc run on localhost

Calc

All in one

Devide:

Enter A:

Enter B:

Submit:
<
  #php code ..
");
            
            # code...
        }else {
                $result1=$a/$b;
    echo "Answer is : $result1

" ; } } catch (Exception $e) { echo $e->getMessage(); } } ;?> >

Subtract:

Enter A:

Enter B:

Submit:
    <

"; };?> >

Multiply:

Enter A:

Enter B:

Submit:

"; };?>

Addition:

Enter A:

Enter B:

Submit:

" ;} ;?>

Comments