rendered paste bodyimport javax.swing.JOptionPane;
import java.text.*;
public class ProgramVfive1
{
public static void main(String Args[])
{
String start;
String end;
int c;
int d;
start=JOptionPane.showInputDialog("Please enter the starting value:");
c=Integer.parseInt(start);
end=JOptionPane.showInputDialog("Please enter the ending value:");
d=Integer.parseInt(end);
DecimalFormat twoDigits=new DecimalFormat(".00");
String g="";
for (c=c; c<=d; c++)
{
g=g + twoDigits.format(Math.sqrt(c)) + "" + (c*c*c) + "" + twoDigits.format(Math.exp(c)) + "\n";
}
JOptionPane.showMessageDialog(null,g);
}
}