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