Day 5 code
This commit is contained in:
parent
95f09146de
commit
75120f935f
3 changed files with 57 additions and 0 deletions
13
main.cpp
Normal file
13
main.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include "ComplexNumber.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
ComplexNumber num(3, 5);
|
||||
ComplexNumber num2(6, -3);
|
||||
|
||||
cout << num << " + " << num2 << " = " << num + num2 << endl;
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue