Display the full path and filename of file


Assignment:

Create a script that defines two integers as constants.

For instance, one of the constants could be the distance from New York City to Los Angeles.

Using arithmetic operators, write five expressions that:

1) Add the two operands

2) Subtract one operand from the other

3) Multiply the two operands

4) Divide one operand by the other and

5) Divide one operand by the other and return the remainder.

Next, take a result value from one of the previous arithmetic expressions and use an increment operator to increase its value by 1.

Next, use five comparison operators of your choice to determine how the operands and results compare to one another.

Finally, display the full path and filename of your file using a magic constant on the bottom of your web page

Solution Preview :

Prepared by a verified Expert
PHP Web Programming: Display the full path and filename of file
Reference No:- TGS01938507

Now Priced at $25 (50% Discount)

Recommended (95%)

Rated (4.7/5)