Please Help me solve my problem in using switch and also the answer would be output required decimal places. its for my final exam. thanks a lot.
import java.io.*;
import java.util.*;
import...
Type: Posts; User: lordrey
Please Help me solve my problem in using switch and also the answer would be output required decimal places. its for my final exam. thanks a lot.
import java.io.*;
import java.util.*;
import...
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...