Question: Modified the following program to Prints the same output without windows Interfaces import javax.swing. JoptionPane; public class cirrea ( } static String input; static
Modified the following program to Prints the same output without windows Interfaces import javax.swing. JoptionPane; public class cirrea ( } static String input; static double R, area; static double Bi= 3.14; public static void main (String[] args) ( input JoptionPane.show InputDialog ("input The x value: "); R= Double.parseDouble (input); area Bi R R; JoptionPane.showMessageDialog (null, "The Area is: "+ area); Q5: Write a program takes two integers numbers from the user and prints the following: 1-The result of sum of the first and second 2- The result of Multiplying the first and second 3-The result of dividing the first on the second 4- The result of Subtraction The second from the first
Step by Step Solution
3.32 Rating (143 Votes )
There are 3 Steps involved in it
To achieve the same functionality without using Javas Swing library for GUI Graphical User Interface ... View full answer
Get step-by-step solutions from verified subject matter experts
