C++ program to arrange 10 numbers in ascending order




Write a C++ program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables.

e.g Welcome to the program written by Your Name:
Please enter 10 Numbers: 12 17 23 197 246 356 790 876 909 987
Fine, numbers are in ascending order.

Solution-


Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com