Develop a program that prompts the user to enter two (2) numbers. The program will display the numbers based on these conditions; if the first number is less than the second number the program will perform a swap operation on these two numbers and display them, otherwise the program will display the numbers as entered.
Marvin_2 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.