diff --git a/Source.cpp b/Source.cpp index 681f63f..10e637d 100644 --- a/Source.cpp +++ b/Source.cpp @@ -8,7 +8,7 @@ int main() cout << "Enter A and B: "; - int a, b, max, min; + double a, b, max, min; cin >> a >> b; if (a > b)