Hi guys is this possible to write a biggest number program( biggest among 3) in a single line
ganesh_IT
0
Light Poster
Recommended Answers
Jump to PostAnd a bit shorter version ;)
((a>b&&a>c)?a:((b>c)?b:c))
All 5 Replies
kings_mitra
-1
Junior Poster
ganesh_IT
0
Light Poster
kings_mitra
-1
Junior Poster
newbie_learner
0
Newbie Poster
0x69
41
Junior 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.