![]() |
Re: Finding LCM & GCD in C
They will appear once on a page. You will see it on the seventh post of the thread.
|
Re: Finding LCM & GCD in C
hey guys,
Was just interested if with the GCD function if its possible to find the GCD of 3 different numbers rather than just 2? Would be interested to see it. Thanks |
Re: Finding LCM & GCD in C
helloo
|
Re: Finding LCM & GCD in C
liked the way to do manipulations done in LCM and GCD programs
|
Re: Finding LCM & GCD in C
hi everyone!
I have code following: You see and shift it Code:
struct ths |
Re: Finding LCM & GCD in C
Offtopic comment:
Use code tag ([ code][/code ]) when you have code snippets in the post. |
Re: Finding LCM & GCD in C
Quote:
this is code in C++, how do you see ? ofcourse, Class in C++ is difficult. What way do you help me to express easy? |
Re: Finding LCM & GCD in C
hi everybody!
Follow you, Can we do in swap 2 structs easier? Code:
tmp = ts[i] ; |
Re: Finding LCM & GCD in C
You can swap the struct if they are addresses and not the objects can be done in that way unless they have the overloaded = operator.
|
Re: Finding LCM & GCD in C
thank, but can we do easier for it ?
not tmp. |
| All times are GMT +5.5. The time now is 07:50. |