Bug 396 - The storing answer function does not works
Summary: The storing answer function does not works
Status: RESOLVED FIXED
Alias: None
Product: Group37
Classification: Unclassified
Component: calculation operation (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- major
Assignee: feiwu25-c
URL:
Depends on:
Blocks:
 
Reported: 2020-11-07 16:09 HKT by feiwu25-c
Modified: 2020-11-08 17:01 HKT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.