pliz help am trying to Write a program that inputs three integers from the keyboard
and prints the sum, average, product, smallest and largest of these numbers.how do i go about it.what i dont know is how to come up with smallest and largest number .Thank you
put 1st int in max...then check it against 2nd int...if 2nd int is larger than max put 2nd int in max....later check against 3rd int and do the same...
max will be having largest element among three....
you can do the same procedure for minimum....
there are always other ways to do this situation.....try finding one yourself...