Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package labreport;
- import java.util.Scanner;
- public class LabReport {
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- float a = input.nextFloat();
- float b = input.nextFloat();
- float c = input.nextFloat();
- System.out.println((a+b+c)/3);
- }
- }
Add Comment
Please, Sign In to add comment