I've started my journey into C++ an I'm slowly enjoying it. Part of my Homework assignment is to have a program that inputs 3 integers from the keyboard and prints the sum,avg, and product(which I got down fyi) What I'm needing is the print for the smallest and largest number
Screen Dialog should appear as follows
Quote
Input three different integers: 13 27 14
Sum is 54
Average is 18
Product is 4914
Smallest 13
Largest is 27
I'll upload a pic of my work to show you where I'm at.
Until it can be used 100% offline (ie: PST file support or equiv) not even considering it.
I'll jump to Thunderbird first which has gotten a LOT better since the last time I looked at it.
Question
afusion
Alright guys!
I've started my journey into C++ an I'm slowly enjoying it. Part of my Homework assignment is to have a program that inputs 3 integers from the keyboard and prints the sum,avg, and product(which I got down fyi) What I'm needing is the print for the smallest and largest number
Screen Dialog should appear as follows
I'll upload a pic of my work to show you where I'm at.
Link to comment
https://www.neowin.net/forum/topic/665578-c-cout-smallest-and-largest-number/Share on other sites
6 answers to this question
Recommended Posts