Ask Question
25 September, 14:43

Write statements to declare and initialize two variables: one, named element_number can hold any of the integer values 1 through 118; the other, named atomic_weight can hold the atomic weight of the given element; atomic weights are values like 3.76. in the declaration, initialize the variables to the values for oxygen, which is element number 8 and has an atomic weight of 15.9994.

+2
Answers (1)
  1. 25 September, 16:02
    0
    In this problem, we are asked to declare statements that describe the orders given as stated. In the first command, we are to define the element number of the element specified, which by, in this case, is oxygen. This is expressed: Element number = 8. Then we name the element that is element = oxygen. The third command specifies the atomic weight of the elementoxygen = 15.9994. For the last command, the expression is atomic weight = oxygen. It is important to arrange the commands in order so that the program that understands the data executes the orders well and translate them into output.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Write statements to declare and initialize two variables: one, named element_number can hold any of the integer values 1 through 118; the ...” in 📘 Mathematics if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers