8 write the php programs to do the following a implement simple calculator operations

8. WRITE THE PHP PROGRAMS TO DO THE FOLLOWING:

A. IMPLEMENT SIMPLE CALCULATOR OPERATIONS.
B. FIND THE TRANSPOSE OF A MATRIX.
C. MULTIPLICATION OF TWO MATRICES.
D. ADDITION OF TWO MATRICES.


 SOLUTION  1  &  SOLUTION  2 

If xampp is in the system, save the program in C:\xampp\htdocs [start apache in xampp control panel]

If no xampp in the system, save the program in C:\Program Files\Apache Group\Apache2\htdocs   & Open Google Chrome & type //localhost/prog8a.php

prog8a.php




table, td, th {
border: 1px solid black; 
width: 35%;
text-align: center; 
background-color: lightgray;
}
table { margin: auto; } 
input,p { text-align:right; }






SIMPLE CALCULATOR










Chủ Đề

First Number: Calculate
Second Number: