subject

You have to do your chemistry homework, but you hate looking up elements on the periodic table! write a program that takes the name of an element (as a string, independent of case) from standard input and prints a double representing its atomic weight to standard output. only implement the program for the first three elements, hydrogren, helium, and lithium, which have the respective atomic weights 1.008, 4.0026, and 6.94. if anything else is given as input, print the statement "sorry, i don't recognize that element! "

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 25.06.2019 05:30
In our new car, we were able to drive 30 miles in a half an hour. from this information, we can determine the car's a. acceleration. b. velocity. c. speed. d. direction.
Answers: 1
question
Computers and Technology, 25.06.2019 06:10
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game behind everything else d. in front of everything else select the best answer from the choices provided
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
Which of the following is an example of an input device? a barcode readeran organic light-emitting diodean inkjet printera cathode ray tube
Answers: 1
question
Computers and Technology, 25.06.2019 10:40
If you're using the paintbrush tool and want to change the color of the paint being used what should you change
Answers: 1
You know the right answer?
You have to do your chemistry homework, but you hate looking up elements on the periodic table! wri...
Questions
question
Mathematics, 28.08.2021 09:40
question
Mathematics, 28.08.2021 09:40
question
Social Studies, 28.08.2021 09:40
question
Mathematics, 28.08.2021 09:40
question
Mathematics, 28.08.2021 09:40
Questions on the website: 13722359