SyntaxFix
Write A Post
Hire A Developer
Questions
double smallest = a; if (smallest > b) smallest = b; if (smallest > c) smallest = c;
Not necessarily faster than your code.