Skip to main content

blue j (java) program to find square root

import java.io.*;
class xyz
{
    public static void main(String args[])throws Exception
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        double x;
        double y;
        System.out.println("Enter a number =");
        x=Double.parseDouble(br.readLine());
        y=Math.sqrt(x);
        System.out.println("The Square root is ="+y);
    }
}        

Comments

Popular posts from this blog

electronic configuration of all elements in SPDF format

Element Electrons Electronic Configuration Hydrogen (H) 1 1s 1 Helium (He) 2 1s 2 Lithium (Li) 3 1s 2  2s 1 Beryllium (Be) 4 1s 2  2s 2 Boron (B) 5 1s 2  2s 2  2p 1 Carbon (C) 6 1s 2  2s 2  2p 2 Nitrogen (N) 7 1s 2  2s 2  2p 3 Oxygen (O) 8 1s 2  2s 2  2p 4 Fluorine (F) 9 1s 2  2s 2  2p 5 Neon (Ne) 10 1s 2  2s 2  2p 6 Sodium (Na) 11 1s 2  2s 2  2p 6  3s 1 Magnesium (Mg) 12 1s 2  2s 2  2p 6  3s 2 Aluminum (Al) 13 1s 2  2s 2  2p 6  3s 2 3p 1 Silicon (Si) 14 1s 2  2s 2  2p 6  3s 2 3p 2 Phosphorous (P) 15 1s 2  2s 2  2p 6  3s 2 3p 3 Sulfur (S) 16 1s 2  2s 2  2p 6  3s 2 3p 4 Chlorine (Cl) 17 1s 2  2s 2  2p 6  3s 2 3p 5 Argon (Ar) 18 1s 2  2s 2  2p 6  3s 2 3p 6 Potassium (K) 19 1s 2  2s 2  2p 6  3s 2 3p 6  4s 1 Calcium (Ca) 20 1s 2  2s 2  2p 6  3s 2 3...

bengali language

Bengali  ( / b ɛ ŋ ˈ ɡ ɔː l i / ), [4]  also known by its  endonym   Bangla  ( UK :  / ˈ b ʌ ŋ l ə / ;  বাংলা ), is an  Indo-Aryan language  primarily spoken by the  Bengalis  in  South Asia . It is the official and most widely spoken language of  Bangladesh  and second most widely spoken of the 22  scheduled languages of India , behind  Hindi . In 2015, 160 million speakers were reported for Bangladesh, [1]  and the 2011 Indian census counted another 100 million. [5]  With approximately 260–300   million total speakers worldwide, [6]  Bengali is the  6th most spoken language by number of native speakers  and  7th most spoken language by total number of speakers  in the world. [7] [8] The  official  and  de facto   national language  of Bangladesh is Modern Standard Bengali (Literary Bengali). [9] [10] [11]  It serves as the  ling...

Gya San Andreas cheat codes

Effect Code All Cars Have Nitro SPEEDFREAK Always Midnight NIGHTPROWLER Boats Fly FLYINGFISH Cars Float Away When Hit BUBBLECARS Chaos Mode STATEOFEMERGENCY Elvis is Everywhere BLUESUEDESHOES Faster Gameplay SPEEDITUP Funhouse Theme CRAZYTOWN Gang Members Everywhere ONLYHOMIESALLOWED Gangs Control the Streets BIFBUZZ Have Jetpack ROCKETMAN Hitman In All Weapon Stats PROFESSIONALKILLER Huge Bunny Hop CJPHONEHOME Infinite Ammo, No Reload FULLCLIP Invisible car WHEELSONLYPLEASE Max All Vehicle Skill Stats NATURALTALENT Max Muscle BUFFMEUP Max Respect WORSHIPME Max Sex Appeal HELLOLADIES Mega Jump KANGAROO Mega Punch STINGLIKEABEE Ninja Theme NINJATOWN No Wanted Level Testeducationalskills Perfect Handling STICKLIKEGLUE Recruit Anyone (Rockets) ROCKETMAYHEM Reduced Traffic GHOSTTOWN Six Star Wanted Level BRINGITON Slower Gameplay SLOWITDOWN Spawn Bloodring Banger OLDSPEEDDEMON Spawn Dozer ITSALLBULL Spawn Hunter OHDUDE Spawn Hydra JUMPJET Spawn Monster ...