1
0
Fork 0

Grundrechenarten Implementiert

master
devra 2024-01-06 15:55:25 +01:00
parent ba044ec21d
commit e5190d7c9b
1 changed files with 12 additions and 5 deletions

View File

@ -12,16 +12,23 @@ public class Axel {
public static void main(String[] args) throws FileNotFoundException {
Spreadsheet spr = new Spreadsheet(10,10);
spr.put("A3", "123");
spr.put("A2", "1");
System.out.println();
spr.put("B9", "=41+A2");
spr.put("J5", "=7*6");
spr.put("A1", "13");
spr.put("A2", "1");
spr.put("A3", "123");
spr.put("B1", "=A2");
spr.put("c1", "=A2-A1+30");
spr.put("B9", "=41+A1");
spr.put("J5", "=7*6/5");
spr.put("J6", "=3/2");
System.out.println(spr);
spr.saveCsv("C:\\Users\\devra\\eclipse-workspace\\Axel\\resources\\zahlen.csv");
//spr.saveCsv("C:\\Users\\devra\\git\\Axel\\Axel\\resources\\zahlen.csv");
// TODO: You might want to put "UI loop" for entering value and formulas here resp. in some UI methods.
}