Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For this third Critical Thinking Assignment you will create a mortgage calculato

ID: 3605048 • Letter: F

Question

For this third Critical Thinking Assignment you will create a mortgage calculator app that allows the user to enter a purchase price, down payment amount, and an interest rate. Based on these values, the app should calculate the loan amount (purchase price minus down payment) and display the monthly payment for 10-, 20-, and 30-year loans. Allow the user to select a custom loan duration (in years) by using a SeekBar and display the monthly payment for that custom loan duration. Assignment deliverables (all items submitted in one .ZIP file): A screenshot showing the execution of your application. A detailed overview of the steps taken to complete your application. The project folder containing all source code for your application. We are typically using android studio. This is somewhat similar http://www.bogotobogo.com/Android/androidAppsMortgageCalculator.php My Bid 1 salyavin profile Not rated Chat I should also admit this is my first use of the site so if I am using it incorrectly please let me know. $10 now $30 when done

Explanation / Answer

<div id="calculator_one">

<?php

    $larry = $_POST['larry']; //amount borrowed

    $moe = $_POST['moe']; //interest rate

    $curly = $_POST['curly']; //term

    $months = ( $curly * 12 );

    $answer = ($larry * ($moe / 100)) / 12;

    $answer_two = ( $larry * (($moe/12) / 100) / ( 1 - pow( 1 + (($moe/12) / 100), -$months)) ); ?>

<form action="" method="post" class="calculator">

    <p class="calc_header">Please enter your details</p>

    <label class="calc">Amount to borrow &#40;&pound;&#41;</label>

    <input class="calc" type="text" name="larry" maxlength="6" /><br />

    <label class="calc">Interest &#40;&#37;&#41;</label>

    <input class="calc" type="text" name="moe" maxlength="4" /><br />

    <label class="calc">Term &#40;Years&#41;</label>

    <input class="calc" type="text" name="curly" maxlength="2" /><br />

    <input type="submit" name="submit" value="Calculate" />

</form>

<?php

    if (isset($_POST['submit']))

    echo "<p class='calc_header'>Results</p>";

    if (isset($_POST['submit']))

    echo "<div id='results'><p class='calc_result'>Based on borrowing&nbsp;<span class='mortgage'>&#163;", number_format($larry) , "</span>&nbsp;over&nbsp;<span class='mortgage'>", ($curly), "&nbsp;years</span>&nbsp;at&nbsp;<span class='mortgage'>", ($moe), "&#37;</span>, your monthly repayments would be&#58;</p>";

    if (isset($_POST['submit']))

    echo "<p class='calc_result'>Interest Only&nbsp;<span class='mortgage'>&#163;", number_format($answer,2), "</span></p>";

    if (isset($_POST['submit']))

    echo "<p class='calc_result'>Repayment&nbsp;<span class='mortgage'>&#163;", number_format($answer_two,2), "</span></p></div>"; ?>

</div><!-- end #calculator_one -->

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote