forked from hummel/PR1-Spreadsheet
Grundrechenarten Implementiert
parent
ba044ec21d
commit
e5190d7c9b
|
@ -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.
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue