Average Rainfall takes input from the keyboard, adds it and then divides by three for an Average Rainfall. Takes input from april, may, june, average,total; / / declares System.out.println("Rainfall for June:"); june =sc.nextInt(); // accepts value for june total = (april + may + june);/ / adds the three months of rainfall
Average Rainfall takes input from the keyboard, adds it and then divides by three for an Average Rainfall. Takes input from april, may, june, average,total; / / declares System.out.println("Rainfall for June:"); june =sc.nextInt(); // accepts value for june total = (april + may + june);/ / adds the three months of rainfall
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online from Scribd
Average Rainfall takes input from the keyboard, adds it and then divides by three for an Average Rainfall. Takes input from april, may, june, average,total; / / declares System.out.println("Rainfall for June:"); june =sc.nextInt(); // accepts value for june total = (april + may + june);/ / adds the three months of rainfall
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online from Scribd