Advertisement
NurUddinShohan

Untitled

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