Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ help if posible,

Name: Dodger 2012-12-11 5:37

alright, i'm lost.. i need help with some coding if there is any software heads out there...

"we're told to create a program in c++ which has to
 prompt the user to enter the number of items and then ask for a price for each one. It should output:"
•The total price
•The average price
•The Total VAT
•The average VAT
•The biggest price
•The smallest price
 im working as hard as posible to make the software stand out compared to others in my course to get extra marks,
i have everything Working exept the biggest and smallest price,

everyone else so far has stuck with 5 values required to enter, but im trying to figure out how to do a continuies one and you enter 0 when your done entering values... but the issue i'm having with this is "the 0 is messing with the averages"

so far the bugs i've found...

0 for "end of entering values" is messing up with the averages,
the biggest price entered and lowest price enter i just cant figure out... wihtout for some reason making the average always zero,


I'll post the code bellow 2 verson's i'v created... 1 way too simple which required 5 values and i dont know how i can get the big/small
and another which is just a cluster fuck of whats... and still couldent figure out how to get big small...

Name: Anonymous 2012-12-11 8:39

>>15
You help him!!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List