From f1b7cdceb681ef99ac8e39c272ca0789137d87c1 Mon Sep 17 00:00:00 2001 From: Kcuyapi-cmd Date: Tue, 16 Sep 2025 08:14:54 +0000 Subject: [PATCH] subir mi primer prpgrama --- .vscode/main.java | 11 +++++++++++ .vscode/settings.json | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 .vscode/main.java diff --git a/.vscode/main.java b/.vscode/main.java new file mode 100644 index 0000000..716d371 --- /dev/null +++ b/.vscode/main.java @@ -0,0 +1,11 @@ +public class Main { + public static void main(String[] args) { + String nombre = "Kevin"; + double nota = 18.5; + + System.out.println("Hola " + nombre + ", tu nota es: " + nota); + + double promedio = (nota + 20.0) / 2; + System.out.println("Tu promedio es: " + promedio); + } +} diff --git a/.vscode/settings.json b/.vscode/settings.json index e69de29..c995aa5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.debug.settings.onBuildFailureProceed": true +} \ No newline at end of file