write a function named, smallestValue, that accepts five integers and return the smallest integer accepted.( just write a function)
write a function named, smallestValue, that accepts five integers and return the smallest integer accepted.( just write a function)
Ok, I did it! Now its your turn.
This forum is not for people to do things for you. Its to help you. Make an attempt before asking for help.
Instead of posting "Write this for me!" post "I wrote this: <code here> but it doesn't work, can you explain why?"
As for the function you intend to write, it is a fairly rudimentary example of C++ syntax. If you understand how functions, variables and if statements work then you should be fine.
I did not just read..
write a function named, smallestValue, that accepts five integers and return the smallest integer accepted.( just write a function)
Please tell me this is not given to you as a home work assignment?