Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1: (SIMPLE) Write the necessary PHP code to calculate the total salary according to the following| equation: Total Salary Basic Salary + Martial Status

image text in transcribedimage text in transcribed

Part 1: (SIMPLE) Write the necessary PHP code to calculate the total salary according to the following| equation: Total Salary Basic Salary + Martial Status Allowance + Extra Tasks Allowance if Any Examine the following HTML code that describes how the form will submit the required input data. Note the following requirements and details: BD 50 is paid as an allowance for single status employee and BD 100 is paid for married Assume the number of extra tasks are unknown. Extra allowances are part of checkboxes values. The form is submitted to the same program. The output should follow the sample screen shown below using ordered and unordered lists. Your program shouldn't display extras in case the user didn't choose any of the extra tasks options.
Basic Salary
Marital Status:
Single
Married
Extra:
Work on Weekend - BD 200
Work Night Shift - BD 100
Work Abroad - BD 400

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Accounting The Impact On Decision Makers

Authors: Gary A Porter, Curtis L Norton

7th Edition

1439080526, 9781439080528

More Books

Students also viewed these Finance questions