diff --git a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Axel.java b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Axel.java index c697853..4f4ac59 100644 --- a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Axel.java +++ b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Axel.java @@ -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. }