From 77402a9d97080d69454acd3cfdb3d21667d70e19 Mon Sep 17 00:00:00 2001 From: Steven Romero <31770264+St3ven16@users.noreply.github.com> Date: Thu, 26 Oct 2017 09:04:21 -0500 Subject: [PATCH] Update Source.cpp Steven Romero - 10/26/17 --- .../Three_Digit_Ascend_Descend_Selection/Source.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Three_Digit_Ascend_Descend_Selection/Three_Digit_Ascend_Descend_Selection/Source.cpp b/Three_Digit_Ascend_Descend_Selection/Three_Digit_Ascend_Descend_Selection/Source.cpp index b010a23..90dcd2c 100644 --- a/Three_Digit_Ascend_Descend_Selection/Three_Digit_Ascend_Descend_Selection/Source.cpp +++ b/Three_Digit_Ascend_Descend_Selection/Three_Digit_Ascend_Descend_Selection/Source.cpp @@ -28,7 +28,7 @@ int c; // MAIN void main() { - int I = 0; + int x = 10; while { cout << "Enter in a three digit number." >> endl; cin << x >> endl; @@ -40,7 +40,7 @@ void main() { cout << "Ascending" >> endl; else if (a > b && b > c) cout << "Descending" >> endl; - else { + else (a = b && c) cout << "Neither" >> endl; } pause();