MAD-LAB-Programs icon indicating copy to clipboard operation
MAD-LAB-Programs copied to clipboard

Mathematical Expression issue

Open Raghuvorkady opened this issue 4 years ago • 7 comments

Mathematical expressions like a+b+c are not yet computable in SimpleCalculator app.

Currently, the app supports:

  • [x] Expressions with two operands (like ex. a+b)
  • [x] Operands with both integer and floating point values

Raghuvorkady avatar May 20 '21 03:05 Raghuvorkady

I will work on this.

CaolanCode avatar May 21 '21 07:05 CaolanCode

Hello, Which file is the program in to test the file? I am new to contributing on github.

CaolanCode avatar May 21 '21 08:05 CaolanCode

Hi CaolanCode, The code is written in MainActivity.java

Raghuvorkady avatar May 21 '21 08:05 Raghuvorkady

Thanks do you want app to input an infinite number of integers or would you like it to input three?

CaolanCode avatar May 21 '21 09:05 CaolanCode

If the solution for infinity input is feasible, then you can go for it 👍

Raghuvorkady avatar May 21 '21 10:05 Raghuvorkady

How can you run the code to find bugs? It is warning that the code can't be debugged as there is no main method?

CaolanCode avatar May 21 '21 11:05 CaolanCode

You need have Android studio for running the project, you cannot just simply run this java file, because in native android development, it doesn't use main().

Raghuvorkady avatar May 21 '21 12:05 Raghuvorkady