jigarjoshi04 / calculator Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello.
I read the readme and since all functions are done, Maybe, you can go on to make a more advanced calculator that has a random number generator (for generating a random number between two numbers).
If you're interested in this, I would be happy to contribute to the code.
I would like to add a new functionality of log of a number. Please assign this to me. :)
Program waits for user to input two numbers first even if calling single valued operations.
Highlighting the parts in output dump as "##Issue"
python3 main.py
--------------------------------------------------
Enter First Integer :--> 1 ##Issue
Enter Second Integer :--> 2 ##Issue
Addition --> 1 Subraction --> 2
Multiplication --> 3 Division --> 4
Integer Division --> 5 Power --> 6
Modulo --> 7 Log --> 8
Sigmoid of sum --> 9 Random Number --> 10
Highest common factor --> 11 Factorial (of first number) --> 12
Exponential of number --> 13 Sine (sinx) --> 14
Exit --> 17 Cosine(cosx) --> 15
Tangent(tanx) --> 16
Please Enter Your Choice :--> 14
You chose Sin(x)
Enter the Number(x) in Degrees:90
The output of the selected operation is 1.0
Should move that part if required only for mathematical operation.
Missing functions like Mean,Median,Mode and Range and its elseif conditions. Only the function definition is present currently.
Output dump of the menu for reference
Addition --> 1 Subraction --> 2
Multiplication --> 3 Division --> 4
Integer Division --> 5 Power --> 6
Modulo --> 7 Log --> 8
Sigmoid of sum --> 9 Random Number --> 10
Highest common factor --> 11 Factorial (of first number) --> 12
Exponential of number --> 13 Sine (sinx) --> 14
Exit --> 17 Cosine(cosx) --> 15
Tangent(tanx) --> 16
@JigarJoshi04 I would like to work on this.. Assign this to me !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.