answersLogoWhite

0

35 (Br)

User Avatar

jkw8886

Lvl 11
3y ago
Updated: 9/27/2023

Bromine

User Avatar

jkw8886

Lvl 11
3y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
JudyJudy
Simplicity is my specialty.
Chat with Judy
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga

Add your answer:

Earn +20 pts
Q: 35 (Br)
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

How many meters equals 1 hectare?

10,000 square metres = 1 hectare<br><br><br>


How do I create a web page that lets a user enter as many values as they wish until the entry of a 0. Then find the sum and the average of all the numbers and show sum and average on screen. In code?

You could do this using Javascript.1) create a textfield2) create a submit button3) define two Javascript variables: a running tally, and a click-counter4) give the button an onclick event that calls a function that works like this:read the value from the text fieldconvert it to a numeric valueif that value is 0 {if the counter != 0 {display the tally and the average (which equals tally over counter)}else{either display an error message, or 0 as both the tally and average - to your taste.}reset both the tally and the counter to 0}else{add the value to the tallyincrement the counter by 1}And here's a working example of how to do it:span.buttonClass{background-color: #C8C8C8;padding: 4px;border-width: 2px;border-style: outset;font-weight: bold;}The Summinator!var tally = 0, counter = 0;function addValue(){var textfield = document.getElementById("addVal");var avgfield = document.getElementById("avgfield");var sumfield = document.getElementById("sumfield");var num = parseFloat(textfield.value);var sum, avg;textfield.value = '';if(isNaN(num)){ // make sure they entered a numberalert("Please enter a numeric value.");}else{if(num != 0){tally += num;counter ++;sumfield.textContent = "";avgfield.textContent = "";}else{if(counter == 0){sum = avg = 0;}else{sum = tally;avg = tally / counter;}sumfield.innerHTML = "The sum is " + sum;avgfield.innerHTML = "The average is " + avg;tally = counter = 0;}}}Add ValueYou can even make it a little nicer by having it output the sum and average each time a number is entered, rather than waiting for the zero input (which would still reset things). That actually simplifies the code too, and would look like this:...if(isNaN(num)){ // make sure they entered a numberalert("Please enter a numeric value.");}else{if(num != 0){tally += num;counter ++;sum = tally;avg = tally / counter;}else{sum = avg = tally = counter = 0;}sumfield.innerHTML = "The sum is " + sum;avgfield.innerHTML = "The average is " + avg;}...


Why was the number zero invented and by whom was it invented?

the number zero is first used by Indians only not by any one else<br /><br /><br /><br /> The number zero was actually invented by the <i><b>Ancient Egyptians


What does BR FT mean on a metar?

Br means Mist... in spanish i guess Br comes from Bruma, a kind of Mist. Fg is Fog, Fu is Smoke (from "fumarola" in spanish as well)


Does dibromomethane have a plane of symmetry?

yes, across the Br-C-Br/H-C-H planes.