In this calculator user just need to input first number
, operator
, second number
, and equal symbol
Example
18 + 9 =
User can press Enter
to see the result
Now, user's console will be like this:
Masukkan angka dan operator: 18 + 9 =
18 + 9 = 27
Apakah anda ingin menghitung lagi? (Y / N):
if user want to using calculator again, user can type y
or Y
on keyboard and type another key to end the calculator