myfirstexample's People
Forkers
ramsfield codemastr3 arvoytan carlonavone grifsf garrett1001 drogers14 pdhenson ssmathistad sroes kbains6 dellingson cpwilsonchico jdmacam shelleywong violetinferno asheelamagwili jdlouhy bbbrando omnibyte27 nespino-2 jaskaal connor-richards lvanderspek aswingler1 mjlarson-chico callison98 mitchmacf e7ite ekiesow ramcguire lthornton1 fun1hero lcnorine weitaoli123 dragongoat mastenl krebrov001 gagesmithcode slavikchukhlebov capktkirk jcheon adhaar-star ballen2024 ihernandez4466 spearsmike avargas34 austinpope noxium amtempleton dlclose axanimander cessna210 th3n1ghtmanc0m3th tanyabonilla bflorek95 joseph-levin brentde lpecson retroject toferwon kcrisci94 txiong11 adamgpgarcia neodusk mscheer75 blexc lwzearfoss colton0012 viraj-sonavane cbfiggins jacobgildea33 maklh899 chodges7 ebagaoisan treesquirrel84 blueweaver vermilionshadow-vk briswells iramosromero umarz14 dominicleveille wataru-oshima-tokyo densellp zynkz ksdhillon1 computertyler thatoneguy-96 notenoughcharact jonathan-phan-804 booffoon josh-huskisson tamannahaider carsonculler paultherobert jthomas97 devangraval1 ejwillis23 somehobo poppy-rinamyfirstexample's Issues
Add functionality for exponents
Handle NaN errors
A bug occurs when the second number entered by the user is zero because a divide-by-zero error.
When a user enters zero (0
) as the second number, show all the other operations as usual. However, instead of calculating and displaying the quotient for division, display the message: Dividing by zero is not a number.
Add division to the results
Divides two numbers
Add multiplication to the output
Handles divide-by-zero errors
Divide first number by second and display the results
I have issues.
But not with this project. Excellent work.
Display the full math operation
Our users have been complaining that the output is vague. Instead of just displaying the type of calculation (e.g. Addition
) we want to show the actual operation, as written in math. When an operation only uses one number, it should be be performed on both numbers, independently. Division and remainder should be combined, as shown below.
For example, if the user enters 5
and 2
, the output should be:
5+2=7
5-2=3
5*2=10
5/2=2 with remainder of 1
Square root of 5 is 2.23607
Square root of 2 is 1.41421
5^2=25
Add advanced math operations
In the program, demonstrate the following operations and use the cmath
library:
- square root of the first number
- exponent, where the first number to the power of the second
I don't have an issue.
I just wanted to say that this project is fantastic. Thanks.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.