Hello all. I would like to calculate, assign and do a lot with my program (java). Here are my codes.
public class Test
public static void main(String args)
Scanner scan = new Scanner(System.in);
String s = new String;
Here are my needs:
if the input is 1 2 3 4 5 6 =A1+A2 =A5+A3 =A5-A1
First i wd like to the program to recognize that the formulae start after the "=" sign, then allocate the string after the = sign to a position in the array(A1=s,A2=s and so forfth), finally do the calulations and print the result as a matrix.(I know how to do all the rest but i'm stuck on these exceptional cases above). Thanks for help :=)
P.S.: There are spaces between the input.(1_2_3...).