Professional Documents
Culture Documents
import javax.swing.JOptionPane;
float magnitude;
magnitude=Float.parseFloat(input);
if (magnitude<=2.5){
else if (magnitude<=5.4){
else if (magnitude<=6.0){
else if (magnitude<=6.9){
JOptionPane.showMessageDialog(null," strong; lots of damage " );}
else if (magnitude<=7.9){
else {