Forums - C# Corner

Forum guidelines


  • 0
  • 1
  • 0

Find Largest and Smallest numbers in C# app

Sep 16 2007 7:33 PM
Hello all, I am working on a project for my school and I am really stumped. We have to create a console application where you are prompted to enter in 3 different numbers for the program. Well I need some help trying to get the program to find the smallest and the largest of those three numbers. Any suggestions? I've been told you need to compare number 1 to number, and then take that and compare it to number 3 but I don't know how. Can anyone help?

Answers (1)

Unlimited Flat-Free License


File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!