ScratchData LogoScratchData
Back to Max_Test's profile

Simple expression evaluator

MAMax_Test•Created March 31, 2019
Simple expression evaluator
2
2
18 views
View on Scratch

Description

Welcome to simple expression evaluator ------------------------------------------------------------------------- Note: Currently negative values of exponent does not work. Also there are no brackets or other operations. It is simple yet complex to code. ------------------------------------------------------------------------- Enter any expression (e.g. 2 ^ 6 + 5 or 32 / 3) and the smart cat will tell you the answer by calculating the result using PEDMAS (or BODMAS). Press space to enter another expression. For inserting value of pi and e, simply write pi for 3.14 and e for 2.71. Hopefully this should be able to develop into a standard calculator. I will add more operations so that it can become a scientific calculator. Report for glitches if any. Enjoy this project. Peace :) ------------------------------------------------------------------------- Updates:- ...

Project Details

Project ID298654043
CreatedMarch 31, 2019
Last ModifiedMay 15, 2020
SharedMarch 31, 2019
Visibilityvisible
CommentsAllowed