1
mirror of https://github.com/jakejarvis/jbb.git synced 2025-10-21 08:14:26 -04:00

first commit

This commit is contained in:
2018-10-18 12:42:02 -04:00
commit 59d1ee3c22
105 changed files with 3773 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?php
echo "<CENTER><FONT SIZE=\"+2\"> You chose the following sentence for the calculator: <b>$factora</b>+<b>$factorb</FONT></b><BR><BR>"; ?>
<?php
$calculation = $factora + "$factorb";
?>
<?php
echo "<FONT SIZE=\"+1\">The sum was <b>$calculation<b></FONT><BR><BR><A HREF=\"index.php?file=calculator_add\">New Calculation</A>" . "<br />\n";
?>

View File

@@ -0,0 +1,9 @@
<?php
echo "<CENTER><FONT SIZE=\"+2\"> You chose the following sentence for the calculator: <b>$factora</b>/<b>$factorb</FONT></b><BR><BR>"; ?>
<?php
$calculation = $factora / "$factorb";
?>
<?php
echo "<FONT SIZE=\"+1\">The result was <b>$calculation<b></FONT><BR><BR><A HREF=\"index.php?file=calculator_divide\">New Calculation</A>" . "<br />\n";
?>

View File

@@ -0,0 +1,9 @@
<?php
echo "<CENTER><FONT SIZE=\"+2\"> You chose the following sentence for the calculator: <b>$factora</b>*<b>$factorb</FONT></b><BR><BR>"; ?>
<?php
$calculation = $factora * "$factorb";
?>
<?php
echo "<FONT SIZE=\"+1\">The product was <b>$calculation<b></FONT><BR><BR><A HREF=\"index.php?file=calculator_multiply\">New Calculation</A>" . "<br />\n";
?>

View File

@@ -0,0 +1,9 @@
<?php
echo "<CENTER><FONT SIZE=\"+2\"> You chose the following sentence for the calculator: <b>$factora</b>-<b>$factorb</FONT></b><BR><BR>"; ?>
<?php
$calculation = $factora - "$factorb";
?>
<?php
echo "<FONT SIZE=\"+1\">The result was <b>$calculation<b></FONT><BR><BR><A HREF=\"index.php?file=calculator_subtract\">New Calculation</A>" . "<br />\n";
?>

View File

@@ -0,0 +1,7 @@
<form action="calculation_add_result.php" method="post">
<input type="text" name="factora" /> +
<input type="text" name="factorb" />
<input type="submit" value="calculate sum">
</form>
<?php echo "<b><font size=\"-1\">Select operation: <A HREF=\"index.php?file=calculator_add\">+</a> <A HREF=\"index.php?file=calculator_subtract\">-</a> <A HREF=\"index.php?file=calculator_multiply\">*</a> or <A HREF=\"index.php?file=calculator_divide\">/</a></b></font>"; ?>

View File

@@ -0,0 +1,7 @@
<form action="index.php?file=calculation_divide_result" method="post">
<input type="text" name="factora" /> /
<input type="text" name="factorb" />
<input type="submit" value="calculate result">
</form>
<?php echo "<b><font size=\"-1\">Select operation: <A HREF=\"index.php?file=calculator_add\">+</a> <A HREF=\"index.php?file=calculator_subtract\">-</a> <A HREF=\"index.php?file=calculator_multiply\">*</a> or <A HREF=\"index.php?file=calculator_divide\">/</a></b></font>"; ?>

View File

@@ -0,0 +1,7 @@
<form action="index.php?file=calculation_multiply_result" method="post">
<input type="text" name="factora" /> *
<input type="text" name="factorb" />
<input type="submit" value="calculate product">
</form>
<?php echo "<b><font size=\"-1\">Select operation: <A HREF=\"index.php?file=calculator_add\">+</a> <A HREF=\"index.php?file=calculator_subtract\">-</a> <A HREF=\"index.php?file=calculator_multiply\">*</a> or <A HREF=\"index.php?file=calculator_divide\">/</a></b></font>"; ?>

View File

@@ -0,0 +1,7 @@
<form action="index.php?file=calculation_subtract_result" method="post">
<input type="text" name="factora" /> -
<input type="text" name="factorb" />
<input type="submit" value="calculate result">
</form>
<?php echo "<b><font size=\"-1\">Select operation: <A HREF=\"index.php?file=calculator_add\">+</a> <A HREF=\"index.php?file=calculator_subtract\">-</a> <A HREF=\"index.php?file=calculator_multiply\">*</a> or <A HREF=\"index.php?file=calculator_divide\">/</a></b></font>"; ?>