Advertisement
je0v4ne

Untitled

Sep 12th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void main(String[] args) {
  2.     double nota1, nota2, media;
  3.     nota1 = 8;
  4.     nota2 = 9;
  5.     media = (nota1 + nota2) / 2;
  6.  
  7.     System.out.println("A média é: " + media);
  8.  
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement