package de.hs_mannheim.informatik.spreadsheet; import java.io.FileNotFoundException; import java.util.Scanner; /** * Part of a simplified spreadsheet system for the PR1 programming lab at Hochschule Mannheim. * * @author Oliver Hummel */ public class Axel { public static void main(String[] args) throws FileNotFoundException { Spreadsheet spr = new Spreadsheet(10,10); @SuppressWarnings("resource") Scanner input = new Scanner(System.in); spr.put("A3", "123"); spr.put("A2", "1"); spr.put("B9", "=41+A2"); spr.put("J5", "=7*6"); spr.put("J6", "=3/2"); System.out.println("Schreibe 'stop' zum anhalten."); do{ String command = ""; String form = ""; String cell= ""; System.out.println(spr); System.out.println("Befehl (z.B. D4_=7*6): "); command = input.nextLine(); if(command.contentEquals("stop")) break; for(int i = 3; i