0
history for calculator in java
hi , i wanaa to write history for calculator in java Do you know how i can ???
1 ответ
+ 5
Store input in an array for every operation.
int [] history = new int [10];
int count = 0;
// User performs an operation
history[count++] = "input";