Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Sorting Output of Individual Integers C#
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Ryan Gaterell
11y
908
1
Reply
Hello,
I am having difficulties finding a solution to my problem...
I need to Create a console application that will ask the user to input 5 individually stored Integers ( I have labelled them Num1 to Num5). After input is collected I need to display these 5 numbers Ascending, I cannot use an Array (which would be so much easier) or list. I have everything done except for the sorting of these integers, I cant seem to wrap my head around it.
Ive thought about comparing all the integers but that would take to long and I'm sure there is another way to do it, maybe a for loop?
Any help is appreciated.
Thanks.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Hide focused richtextbox blue selection
Connect 4 tournament