Chemistry, asked by ramesh776496, 10 months ago

periodic tablesपीरियोडिक टेबल ऑफ केमिस्ट्री ​

Answers

Answered by rvgokulnathan
0

Answer:

hijzkxkdjskakakakakajakkakaka

Answered by rockstar2019
1

import java.util.Scanner;</p><p>public class Program</p><p>{</p><p>    public static void main(String[] args) </p><p>    {</p><p>        Scanner keyboard = new Scanner(System.in);</p><p>        </p><p>        System.out.println("Enter a number(1-118): ");</p><p>        int num = keyboard.nextInt();</p><p>        </p><p>        String table[] = {"Hydrogen", "Helium", "Lithium", "Beryllium", "Boron", "Carbon", "Nitrogen", "Oxygen", "Fluorine", "Neon", "Sodium", "Magnesium", "Aluminium", "Silicon", "Phosphorous", "Sulfur", "Chlorine", "Argon", "Potassium", "Calcium", "Scandium", "Titanium", "Vanadium", "Chromium", "Manganese", "Iron", "Cobalt", "Nickel", "Copper", "Zinc", "Gallium", "Germainium", "Arsenic", "Selenium", "Bromine", "Krypton", "Rubidium", "Strontium", "Yttrium", "Zirconium", "Niobium", "Molybdenum", "Technetium", "Ruthenium", "Rhodium", "Paladium", "Silver", "Cadmium", "Indium", "Tin", "Antimony", "Tellurium", "Iodine", "Xenon", "Cesium", "Barium", "Lanthanum", "Cerium", "Praseodymium", "Neodymium", "Promethium", "Samarium", "Europium", "Gadolinium", "Terbium", "Dysprosium", "Holmium", "Erbium", "Thulium", "Ytterbium", "Lutetium", "Hafnium", "Tantalum", "Tungsten", "Rhenium", "Osmium", "Iridium", "Platinum", "Gold", "Mercury"</p><p>        </p><p>        if(num &lt; 1 || num &gt; table.length)</p><p>        {</p><p>            System.out.println("This number isn't valid!");</p><p>        }</p><p>        else</p><p>        {</p><p>            System.out.println(num + " - " + table[num - 1]);</p><p>                </p><p>        }</p><p>    }</p><p>}

Similar questions