Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

This project due this Saturday 3/06/21 @ 12:AM. I have the HTML Part of the project done and only need help with the Javascript. Was wondering if my html code can be utilized and you guys complete the...

1 answer below »
This project due this Saturday 3/06/21 @ 12:AM. I have the HTML Part of the project done and only need help with the Javascript. Was wondering if my html code can be utilized and you guys complete the JS part with all requirements done as the images explain. ( Please let me know how much the cost will be to complete a project like this in the time needed, thanks!)
Answered Same Day Mar 05, 2021

Solution

Pulkit answered on Mar 05 2021
144 Votes
text/doCalculations.jsfunction resetAll(){
document.getElementById("xTextBox").value = "";

document.getElementById("min").value = "";

document.getElementById("max").value = "";

document.getElementById("sum").value = "";

document.getElementById("mean").value = "";

document.getElementById("median").value = "";

document.getElementById("mode").value = "";

document.getElementById("std").value = "";

document.getElementById("var").value = "";

}

function getResult(){

var xValue = document.getElementById("xTextBox").value;

values = xValue.split(/\s+/);

for(i=0;i
values[i] = parseInt(values[i].trim());

}

min = getMin(values);

max = getMax(values);

sum = getSum(values);

mean = getMean(values);

median=getMedain(values);

mode=getMode(values);

varc=getVarc(values);

std=getStd(values);

document.getElementById("min").value = min;

document.getElementById("max").value = max;

document.getElementById("sum").value = sum;

document.getElementById("mean").value...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here