Bug 396

Summary: The storing answer function does not works
Product: Group37 Reporter: feiwu25-c
Component: calculation operationAssignee: feiwu25-c
Status: RESOLVED FIXED    
Severity: major CC: danielsuendaniel, tommyhonym
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   

Description feiwu25-c 2020-11-07 16:09:08 HKT
Overview:
The answer of previous calculation cannot be stored

Step to reproduce:
1) Start the calculator
2) Enter 2 to enter Normal Calculation
3) Enter 2 to input algo
4) Enter any valid operation
5) Press Enter to continue

Expected Result:
Store the answer? ('Y' for storing answer, other keys for skipping)
>

Actual Result:
Store the answer? ('Y' for storing answer, other keys for skipping)
>Normal calculation mode:
1) test calculation
2) input algo

3) back

Build Date & Hardware:
07-11-2020 on Window 10.0.18363
Comment 1 danielsuendaniel 2020-11-08 17:01:54 HKT
The problems is I forgot to skip the "\n" character in the previous pause screen input. Added a "sc.nextLine()" before waiting for user input for storing the answer.