Ask Question
22 June, 08:45

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.

+4
Answers (1)
  1. 22 June, 09:09
    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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers