Posts

Showing posts from January, 2019

A Very Basic Calculator

Image
It's been another busy time. I've had to dealt with the holiday season and the return of college. I was also doing exploration into Pygame for a project. However, I am back and ready to program. I've got a calculator to show. With a new semester, I've got another class for programming. The professor told us we were going to start off by doing our finale project: Making a useful calculator capable of doing actions beyond what a scientific calculator can do. This is to be done in Visual Basic. For the moment, however, we were told to make a calculator capable of simple calculations such as adding or multiplication. One of those simple calculators like the basic calculator on iPhones (when not in scientific mode). This was a mildly difficult task. I had to learn some basics about how calculators work. The display was rather easy, as with most Visual Basic programs. Here is the code for it. In summary, the calculator has functions for these tasks: Display. Chan