How to start coding

Question

import javax . swing . JOptionPane

Public class Example {

       public static void main (string [ ] args )    {


          String response ;

          response. = JOptionPane .showinput Dia log

   Radius. = Interger .parseInt ( response)


2* radius*3.14159;



     //3.   Calculator the diameter 

   //4.  Calculator the area 

    //5.   Display all the results.

 

Details
Purchase An Answer Below

Have a similar question?