ICA10.java - package ICAs import java.util.Scanner public...

This preview shows page 1 out of 1 page.

package ICAs; import java.util.Scanner; public class ICA10 { public static void main(String[] args) { //the user will enter a number from 1.0 to 9.0+// Scanner in =new Scanner(System.in); double richterScale=6.6; if ((richterScale>=6.6)) { //Earthquake Description// System.out.println("Strong"); } else if (richterScale >= 6.6) { //Average Earthquake Effects// System.out.println("Damage to a moderate number of well-built structures in populated areas. Earthquake-resistant structures survive with

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture