Skip to content

Instantly share code, notes, and snippets.

View bls1999's full-sized avatar

Ben bls1999

View GitHub Profile
@bls1999
bls1999 / calculator.cpp
Last active June 14, 2022 23:40
A small programming challenge for the purpose of learning C++.
#include <iostream>
using namespace std;
class ComplexNumber {
public:
double real;
double imag;
ComplexNumber(double r, double i) {
real = r;