format und variablen

This commit is contained in:
2023-09-26 12:28:28 +02:00
parent 4d84f83ac5
commit c00b7c1e38
10 changed files with 47 additions and 18 deletions

View File

@@ -0,0 +1,8 @@
size(800, 600);
float a; // Deklaration a
a = 2;
float b; // Deklaration b
b = 1;
float c; // Deklaration c
c = a + b / 2; // Durchschnitt a und b
println(c);