tons of thanks sir. now my problem is how to convert those int to float and displays required decimal places.
Type: Posts; User: lordrey
tons of thanks sir. now my problem is how to convert those int to float and displays required decimal places.
import java.io.*;
import java.util.*;
import javax.swing.JOptionPane;
public class exercise1
{
public static void main(String args[]){
String input = JOptionPane.showInputDialog("Selection...