-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
32 lines (23 loc) · 932 Bytes
/
main.cpp
File metadata and controls
32 lines (23 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Course: CS213 - Programming II - 2018
// Title: Assignment II - Individual
// program Name: main.cpp
// last Modification Date: 30/10/2018
// Author 1,Id and Group: Ali Samy El-Alfy - 20170171 - G8
// Author 2,Id and Group: Fatma Ashraf Ramadan - 20170192 - G7
// Author 3,Id and Group: Catherine Atef Farhat - 20170194 - G7
// Teaching Assistant: Eng/ Sara Hassan , Eng/ Khloud Khaled
#include <iostream>
#include "BigDecimal.h"
using namespace std;
int main()
{
/*BigDecimal num1("123456789012345678901234567890");
BigDecimal num2("113456789011345678901134567890");
BigDecimal num3 = num2 + num1;
BigDecimal num4 = num1 - num2;
cout << "num2 + num1 = " << num3 << endl;
cout << "num2 - num1 = " << num4 << endl;*/
BigDecimal num5("123456789012345678901234567890");
BigDecimal num6("113456789011345678901134567890");
cout << num5 - num6<< endl;
}