diff --git a/Source.cpp b/Source.cpp index 3764385..654518f 100644 --- a/Source.cpp +++ b/Source.cpp @@ -2,7 +2,7 @@ using namespace std; main() { cout << "Enter A and B: "; - int a, b; + double a, b; cin >> a >> b; cout << "A + B = " << a + b << '\n' << "A - B = " << a - b << '\n'