Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Assignment2

af
af 


PHP/JAVA THIS IS A PROGRAMING ASSIGNMENT. PHP MUST BE USED. I WILL PAY MORE IF REQUIRED, IF I DO NOT RECEIVE IT BY THE REQUESTED DATE I WILL NOT BE ABLE TO PURCHASE. SINCE THE TURN IN TIME WILL HAVE ENDED. THANK YOU! Attachments Tags Clarifications

Answers

Assignment_02

felo
felo 



Find attached Solution Attachments
csci4000_ass2.zip (8 K) Download








Preview
* $tax_rate; // calculate net pay $net_pay = $gross - $tax_deduction; ?> <!DOCTYPE html> <head> <meta charset="UTF-8"> <title>Your Name's Employee Net Pay</title> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <header> <h1>Your Name's Employee Net Pay</h1> </header> <section> <h3>This page calculates an employee's net pay.</h3> <h4>You entered:</h4> <div id="descriptions"> <p>Employee's hourly rate of pay

Preview
// CSCI4000 // Date // Assignment 2 if (isset($_POST['seq1'])) { $button = 1; } elseif (isset($_POST['seq2'])) { $button = 2; } elseif (isset($_POST['seq3'])) { $button = 3; } else { $button = 4; } ?> <!DOCTYPE html> <head> <meta charset="UTF-8"> <title>Your Name's Kung Fu Panda Po Sequence</title> <link rel="stylesheet" type="text/css" href="style.css">

Preview
magic rectangle has ".$rows." rows, and ".$columns." columns."; ?></h3> <h4>Nested for loop rectangle</h4> <p> <?php for ($i = 0; $i < $rows; $i++) { for ($j = 0; $j < $columns; $j++) { echo "F"; } echo "<br>"; } ?> </p> <h4>Nested while loop rectangle</h4> <p> <?php $a = 1;

Preview
== false) { echo "<p>\"".$word."\" does not contain any @ sign.</p>"; echo "<p>You cannot open the secret scroll. Please try again.</p>"; } else { echo "<p>\"".$word."\" contains exactly 9 characters and there is at least one @ sign.</p>"; echo "<p>Good job! You can open the secret scroll.</p>"; } ?> <br>

q1.png (86 K) Download Preview

q11.png (94 K) Download Preview

Screenshots
Screenshot
Screenshot
Purchase Answer

Complete solution

twillenbring
twillenbring 



4 different files for the 4 iterations. Let me know if you have any questions

Attachments
Part1.zip (3 K) Download



Preview
. " x " . $overtimeHours . " x 1.5 = " . $overtimePay?> </td> </tr> <tr> <td>Gross pay =</td> <td> <?php echo $regPay . " + " .$overtimePay . " = " . $grossPay?> </td> </tr> <tr> <td>

Part2.zip (2 K) Download


Preview
html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="styles/style.css"> <title>Your Name's Kung Fu Panda Po Sequence</title> </head> <body> <div class="container"> <header> <h1>Your Name's Kung Fu Panda Po Sequence</h1> </header> <form action="index_process.php" method="post"> <table border="0"> <tr> <td class="tab"> <h3>Click on the

Preview
= pow($i,2)-2; } echo "<table border='0'>"; echo "<tr>"; echo "<td><h3>You pressed button 3<h3></td>"; echo "</tr>"; echo "<tr>"; echo "<td><h4>Po's Sequence<h4></td>"; echo "</tr>"; for($n = 1; $n<10; $n++){ echo "<tr>"; echo "<td>When n=" .$n ."; &nbsp &nbsp n*n-2 = "

Part 3.zip (2 K) Download


Preview
</header> <article> <p><h3>Enter Po's row and column numbers.</h3></p> <form action="index_process.php" method="post"> <table border="0"> <tr> <td>Po's row:</td> <td align="center"><input type="text" name="rows" size="20" /></td> </tr> <tr>

Preview
} echo "<br/>"; } } function doWhileRectangle($rows, $columns){ $sum = 0; $i = 1; do{ $j= 1; do{ $sum = $i*$j; echo $i."x".$j . "=".$sum . "; "; $j++; }while($j<=$columns); echo "<br/>"; $i++;

Part 4.zip (2 K) Download


Preview
Scroll</h1> </header> <article> <p><h3>Click on the button below to enter Po's secret word for his secret scroll</h3></p> <p>The secret word must contain 9 characters, and must contain at least one @ sign.</p> <!--Form uses get method and user inputs

Preview
"\"".$str . "\" does not contain exactly 9 characters. <br/>"; echo "<h3>You cannot open the secret scroll. Please try again.</h3> <br/>"; }else{ echo "\"".$str . "\" does not contain exactly 9 characters. <br/>"; echo "\"".$str . "\" does not contain any @ sign. <br/>"; echo

Screenshots
Purchase Answer