Create your page(s) using “’s Kung Fu Panda Po Sequence” as the page title(s) (tag).
Save the first page as index.htm (or index.php). Use a HTML form to capture user input. Submit the form to a second file index_process.php using the POST method. (3 points)
The second page contains a link to go back to the first page.
Allow the user to click on one of the four buttons. You must use for loop, while loop or do..while loop for coding. The sequences generated and the output should look like the example output shown.
Save the files in subfolder
“lastname_firstname_assignment2\q1\”. (1 point)
Create web page(s) that displays the default information (example
shown).
The initial page and related outputs should look like the
examples shown below. (3 points)
Create your page(s) using “<your name>’s Employee Net Pay”
as the page title(s) (<title> tag). (2 points)
Save the first page as index.htm. Use a HTML form to capture user
input. Submit the form to a second
file index_process.php using the POST method. (3 points)
The second page index_process.php will then be updated as
shown.
Write a program that calculated an employee’s net pay. (13 points
for logic and display)
o The user should enter
Hourly pay rate
Number of hours worked in a week
Number of dependents claimed
o If the employee works more than 45 hours in a week, overtime is
calculated at 1.5 times the
regular hourly rate.
o Taxes are then deducted from the gross pay as follows:
No dependents: tax rate is 25%
1 to 3 dependents: tax rate is 20%
4 to 6 dependents: tax rate is 10%
More than 6 dependents: tax rate is 5%
Create a css file named style.css to format all pages by creating
your own layout (no two students should
have the same layout). You can use the same (or similar) css
file(s) to format all questions. (3 points)
Input test case 1 Output test case 1 and logic
Employee's hourly rate: $30.
Number of hours worked this week: 50 hours.
Number of dependents: 3.
First 45 hours pay = $30 x 45 hours = $1350
Next 5 hours pay (overtime) = $30 x 5 hours x 1.5 = $225
Gross pay = $1350 + $225 = $1575
Tax rate for 3 dependents = 20%
Tax deduction = $1575 x 20% = $315
Net pay = $1575 - $315 = $1260
This employee earned: $1260 this week.
Input test case 2 Output test case 2 and logic
Employee's hourly rate: $40.
Number of hours worked this week: 30 hours.
Number of dependents: 4.
First 45 hours pay = $40 x 30 hours = $1200
Next 0 hours pay (overtime) = $30 x 0 hours x 1.5 = $0
Gross pay = $1200 + $0 = $1200
Tax rate for 4 dependents = 10%
Tax deduction = $1200 x 10% = $120
Net pay = $1200 - $120 = $1080
This employee earned: $1080 this week.
3 CSCI 4000
Example: Test case 1 input
Example: Test case
Create your page(s) using “’s Kung Fu Panda Po Sequence” as the page title(s) (tag). Save...
Create an HTML5 page that contains a form to collect the following data. The text in bold indicates the id value that should be assigned to each html control: Product (drop down list) product – iPad, iPhone 6S, Galaxy 5S, Moto X, and so on Quantity (number) quantity Unit price (number) unit_price Discount (%)(number) discount_rate Date (date) order_date First Name (text box) first_name Last Name (text box) last_name Payment type (drop down list) payment_type – Visa, Master, Discover, Amex, and...
JUDY'S HTML TUTORIAL MENU CREATING YOUR FIRST WEB PAGE The best way to make a web page is to just dive right in. Open Notepad. To open notepad in Windows, click the windows icon in the lower left corner of the screen and then type "notepad." Notepad is a text editor. Other text editors you may consider are TextPad, Sublime Text, or NotePad++. Do not use Word or WordPad; they are word processors. If you are using an Apple computer...
Design an original, professional web site following the specifications listed below. This web site will be for a business you plan to set up for yourself or for someone else. The following is a detailed list of the requirements for your web site. READ them carefully. Instructions - Web Site Requirements for the web site: General: You will thoroughly test all your pages in more than one browser. All links MUST work. All graphics must show on the page. All...
This assignment tests your ability to write C programs that handle keyboard input, formatted console output, and input/output with text files. The program also requires that you use ctype functions to deal with the logic. In this program, you will input from the user two characters, which should both be letters where the second letter > the first letter. You will then input a file character-by-character and output those letters that fall between the two characters (inclusively) to an output...
You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...
Don't attempt if you can't attempt fully, i will dislike a nd negative comments would be given Please it's a request. c++ We will read a CSV files of a data dump from the GoodReads 2 web site that contains information about user-rated books (e.g., book tit le, publication year, ISBN number, average reader rating, and cover image URL). The information will be stored and some simple statistics will be calculated. Additionally, for extra credit, the program will create an...
Don't attempt if you can't attempt fully, i will dislike and negative comments would be given Please it's a request. c++ We will read a CSV files of a data dump from the GoodReads 2 web site that contains information about user-rated books (e.g., book titnle, publication year, ISBN number, average reader rating, and cover image URL). The information will be stored and some simple statistics will be calculated. Additionally, for extra credit, the program will create an HTML web...
Write a program in the Codio programming environment that allows you to play the game of Rock / Paper / Scissors against the computer. Within the Codio starting project you will find starter code as well as tests to run at each stage. There are three stages to the program, as illustrated below. You must pass the tests at each stage before continuing in to the next stage. We may rerun all tests within Codio before grading your program. Please see...
Major Homework #2 Implement a C program major_hw2.c to solve the 15-puzzle problem using the A* search algorithm. Please include pictures that the code runs and shows the different states as it reaches goal state please. 1. Objectives • To gain more experience on using pointers and linked lists in C programs. • To learn how to solve problems using state space search and A* search algorithm. 2. Background A* search and 15-puzzle problem have been introduced in the class....