1: Suppose I'm given six numbers and asked to find the largest or the smallest of them. How do I do it? I mean what would be the syntax? If I wanted to add them I would simply write a+b+c+d+e+f, where a, b, c, d, e, and f are numbers. Please guide me.
2: How do I set the precision value - number of digits after the decimal point?
And by the way I'm a beginner and playing around with console based programs.
Thanks for the help and your time.