2023-12-12 15:00:07 +01:00
|
|
|
package de.hs_mannheim.informatik.spreadsheet;
|
|
|
|
|
2023-12-14 08:31:20 +01:00
|
|
|
import java.io.FileNotFoundException;
|
2023-12-26 06:34:14 +01:00
|
|
|
import java.util.Scanner;
|
2023-12-12 15:00:07 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Part of a simplified spreadsheet system for the PR1 programming lab at Hochschule Mannheim.
|
|
|
|
*
|
|
|
|
* @author Oliver Hummel
|
|
|
|
*/
|
|
|
|
public class Axel {
|
|
|
|
|
2023-12-14 08:31:20 +01:00
|
|
|
public static void main(String[] args) throws FileNotFoundException {
|
2023-12-26 06:34:14 +01:00
|
|
|
Spreadsheet spr = new Spreadsheet(10, 10);
|
|
|
|
Scanner sc = new Scanner(System.in);
|
2023-12-26 04:49:00 +01:00
|
|
|
|
2023-12-26 06:34:14 +01:00
|
|
|
while (true) {
|
2023-12-26 04:49:00 +01:00
|
|
|
|
2023-12-26 09:59:16 +01:00
|
|
|
System.out.println(spr.toStringShowFormula());
|
2023-12-26 06:34:14 +01:00
|
|
|
System.out.println(spr);
|
2023-12-12 15:00:07 +01:00
|
|
|
|
2023-12-26 06:34:14 +01:00
|
|
|
|
|
|
|
// TODO: You might want to put "UI loop" for entering value and formulas here resp. in some UI methods.
|
|
|
|
}
|
|
|
|
}
|
2023-12-12 15:00:07 +01:00
|
|
|
}
|