history for calculator in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

history for calculator in java

hi , i wanaa to write history for calculator in java Do you know how i can ???

27th Jul 2017, 9:19 AM
fateme h
fateme h - avatar
1 Answer
+ 5
Store input in an array for every operation. int [] history = new int [10]; int count = 0; // User performs an operation history[count++] = "input";
27th Jul 2017, 11:04 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar