thisum biddhika

Greenhorn
+ Follow
since Dec 19, 2008
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by thisum biddhika

I'm getting inputs to my program as strings, like this:
=12+69*98
and i have to compute these values.
I tried to do this by getting the string and divide into sub strings and then to combine those with required opcodes.
(i create an ArrayList to do this)
(I took the integer values of those substrings)

but combining those strings didn't work.

As i very new to java if someone can help me, i would appriciate it.
thanks.
13 years ago
similar to a excel, but very simpler than that.

In each cell we have to store a literal integer value, a referential integer value (that is, a reference to the value stored at another cell) or an equation.

A referential integer value is stored as a string that starts with the symbol "=" followed by the target cell address expressed as a string.

An equation is entered as a string that starts with the symbol "=" and is an expression that may contain the operators "+", "-", "*" and "/" for addition, subtraction, multiplication and integer division. An expression may also contain the symbols "(" and ")" for group of sub-expressions but without nesting. The values in an expression may be literal integers or a reference to a value stored at a cell. The expressions are evaluated left-to-right without any specific operator precedence order. But sub-expression precedence is maintained.

A cell may store the special function "sum", which is the summation of values in a range of cells (either column-wise or row-wise). This special equation is represented as a string "=sum(start_address..end_address)".
13 years ago
can anyone please say how to create a spread-sheet using J-Table!
I encountered problems when accessing cells and retreving data by giving cell address.(10x10 spread sheet.)
13 years ago