Jump to content
  • Advertisement
Sign in to follow this  

calculator app

This topic is 1958 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am building a very simple little calculator app., Let me know if I need to add anything. I am only using +,-,*,/ operators and the numbers 0 to 9.

I am using c# and a windows form.

here is the logic I am using.


1) start

2) input number X

3) input operator

4) input number Y

5) calculate S = X (operator) Y

6) output S

7) end



Share this post

Link to post
Share on other sites

A simple thing to add is a way to assign S to X, and choose another operator and Y to perform a new operation based on the result of the last. I wouldn't really say you need to add anything to the logic, since it is a GUI for some of the most basic things a machine can do, but as a learning experience, here is a path you could try to expand what you know.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!