Advertisement
NurUddinShohan

Untitled

Aug 6th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1.  
  2. package labreport;
  3.  
  4. import java.util.Scanner;
  5.  
  6. public class LabReport {
  7.     public static void main(String[] args) {
  8.         Scanner input = new Scanner(System.in);
  9.         float a = input.nextFloat();
  10.         float b = input.nextFloat();
  11.         float c = input.nextFloat();
  12.         System.out.println((a+b+c)/3);
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement