This program uses python language in a browser-based Python interpreter called Code Skulptor
-
Go to http://www.codeskulptor.org/#user40_oMCV0H3aGi5p7wX.py and you will see the below web page.
-
Click the play icon which should open up another windows tab with the below web page
-
You can place the new tab on a different windows tab by removing it from the current windows tabs just as show below. This will enable to see both the GUI version of the calculator (new tab) and the code result of the calculator (current tab)
-
To make a calculation enter the number
Example: To add 2 + 4
i. Enter 2 in the field provided below the Enter text
ii. Hit enter key
iii. Using the mouse click Add
iv. Enter 4 in the field provided below the Enter text
v. Hit enter key
vi. Using the mouse click Add and the "store" will equate to 6 as shown on the GUI version of the calculator above (No. 3 above)
Copyright © 2019 Bright Nwanoruo Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of The author nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.