jain87's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 8 (0.04 per day)
- Joined:
- 17-November 12
- Profile Views:
- 263
- Last Active:
Mar 29 2013 02:40 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: problem using a function for a task
Posted 22 Nov 2012
Adak, on 22 November 2012 - 01:43 AM, said:
jain87, on 22 November 2012 - 01:30 AM, said:
jimblumberg, on 21 November 2012 - 09:20 AM, said:I suggest you study the links provided in my signature, they should help explain functions.
Jim
thank you Jim, that was very helpfull, I have another question for you, in the same code I have to use one more function that will work with the second one, that will give me the smallest number, and again I'm having trouble to use both of them in the same code, how can I connect 3 of them?
The Smallest function can be exactly the same as the Biggest function, except for turning the comparison around, so the smallest number is returned and printed. Same parameters, same return type, same comparisons - just change the logic to switch from biggest number to the smallest number, and you're done.
I wish! My task is to use the biggest function, and witout making any more comparison find out the smallest number, by using another function. -
In Topic: problem using a function for a task
Posted 22 Nov 2012
jimblumberg, on 21 November 2012 - 09:20 AM, said:I suggest you study the links provided in my signature, they should help explain functions.
Jim
thank you Jim, that was very helpfull, I have another question for you, in the same code I have to use one more function that will work with the second one, that will give me the smallest number, and again I'm having trouble to use both of them in the same code, how can I connect 3 of them? -
In Topic: Functions in C and C++, Part II: Argument Passing and Arrays
Posted 21 Nov 2012
Awesome and very very helpfull! Thanks! -
In Topic: problem with average
Posted 17 Nov 2012
thank you so much!!! it works!!!
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
jain87 hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
jain87 has no profile comments yet. Why not say hello?