Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,164 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,887 people online right now. Registration is fast and FREE... Join Now!




How to create functions with average, mode and median

 
Reply to this topicStart new topic

How to create functions with average, mode and median

msshorthang
6 Dec, 2007 - 04:44 AM
Post #1

New D.I.C Head
*

Joined: 23 Oct, 2007
Posts: 3


My Contributions
got help from someone else

This post has been edited by msshorthang: 6 Dec, 2007 - 11:10 AM
User is offlineProfile CardPM
+Quote Post

lockdown
RE: How To Create Functions With Average, Mode And Median
6 Dec, 2007 - 08:19 AM
Post #2

D.I.C Regular
Group Icon

Joined: 29 Sep, 2007
Posts: 376



Thanked: 1 times
Expert In: PC, Support

My Contributions
First try using the code and /code to post your code properly. Also formate it indentations so its easir for someone to read and understand.

Also I dont know why you are having a issue because you already know how to make functions from what your code shows. You have created a void function in their so just create another function and put the operations you want in their. You need to go read about functions because if you dont know how to create them you wont understand the suggestions anyone makes.

Also is this even your code? I have seen this same code about 3 weeks back on another site giving it as an example to explain something. If this is not your code dont bother asking for help because if you did not create it we wont correct it.
User is offlineProfile CardPM
+Quote Post

msshorthang
RE: How To Create Functions With Average, Mode And Median
6 Dec, 2007 - 11:01 AM
Post #3

New D.I.C Head
*

Joined: 23 Oct, 2007
Posts: 3


My Contributions
Look if you don't want to help thats find with me, this is my code, the professor always start out the program but its on the students to finish it.

[
User is offlineProfile CardPM
+Quote Post

lockdown
RE: How To Create Functions With Average, Mode And Median
6 Dec, 2007 - 12:19 PM
Post #4

D.I.C Regular
Group Icon

Joined: 29 Sep, 2007
Posts: 376



Thanked: 1 times
Expert In: PC, Support

My Contributions
QUOTE(msshorthang @ 6 Dec, 2007 - 12:01 PM) *

Look if you don't want to help thats find with me, this is my code, the professor always start out the program but its on the students to finish it.

[


Wow. I did not mean to offend you. The reason I asked about the code is their are a lot of people on the forum that ask for help when its not even their code. I said I had seen the code but people sometimes think a like its no big deal. I was not accusing of stealing code, taking someone else. Why did you not explain that you were given the code from someone else to look over. That would explain why you have a void function but then said you did not know what to do with other functions.

Also I would be more then happy to help you seeing I was the only person to respond to your particular question. I was asking you if you code formate the code so I would be easier to explain and tell you whats wrong.

I was not trying to attack you or give you the wrong impression. I am here to help and people also help me. So sorry if what I said came out the wrong way.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/2/08 12:03AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month