troubleshooting Question

Comparing 3 amounts (can't be that hard!)

Avatar of Camillia
CamilliaFlag for United States of America asked on
ASP.NET
5 Comments1 Solution178 ViewsLast Modified:
This can't be that hard but not sure why I can't get it

I have 3 amounts

amount1 = 12.7
amount2 = 33.8
amount3 = 40.99

I want to compare the 3 and find the highest one. How can I do that?? I know one way is use if statement. Not sure how to do this!!
ASKER CERTIFIED SOLUTION
Meir Rivkin
Full stack Software Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros