@hendrix5045 I wouldn't call it awful, everyone has their ways of doing something. I think he's just trying to say the same results could have been achieved with less coding.
@arHHco , strange variables? Naming variables what they actually are is programming etiquette 101. I would argue that using random letters as variables would make it much more complicated and harder to understand. That's the point of giving variables names you can relate to. However, this code was written a long time ago and I could make it more efficient, but that would not entail changing the variable names.
if anyone's interested, I have written a C#-Version that lets you choose between the original euclidean algorithm and the modern one (that you implemented):
Thanks man!
ordep050 1 month ago
you write an awful code just improve it
olawraia 2 months ago
@olawraia , I'll get right on that as soon as you learn some grammar.
hendrix5045 2 months ago
@hendrix5045 I wouldn't call it awful, everyone has their ways of doing something. I think he's just trying to say the same results could have been achieved with less coding.
Yondaimeku 2 weeks ago
@Yondaimeku , Instead of being condescending why don't you just explain how it could be better.
hendrix5045 2 weeks ago
@Yondaimeku simply because u unnecessarily called those strange variables divisor dividend, when you could simply do ur code in few lines like
while(b>0){ c=a%b; a=b; b=c; } cout<< a;
arHHco 2 days ago
@arHHco , strange variables? Naming variables what they actually are is programming etiquette 101. I would argue that using random letters as variables would make it much more complicated and harder to understand. That's the point of giving variables names you can relate to. However, this code was written a long time ago and I could make it more efficient, but that would not entail changing the variable names.
hendrix5045 2 days ago
uiy]
olawraia 2 months ago
thanks man :D
frwings48 3 months ago
Comment removed
xiAresx 5 months ago
@xiAresx , No it wont. You could send me the math problem you have though and I could do it :)
hendrix5045 5 months ago
hi what program is that ?=) *repz*
skillmine12 5 months ago
Thanks. The video is helpful for newbies.
08deblyh 11 months ago
Awesome video man. Thanks a bunch for making this. Really helped me out in one of my assignments.
colemanizzle13 1 year ago
Great video, could you send me the program?
NinjuhMunk 1 year ago
Thank you so much for explaining this with simple code. All the other solutions I could find involved code I haven't learned yet.
soik90 1 year ago
Comment removed
nawazsucks 1 year ago
nice video!
if anyone's interested, I have written a C#-Version that lets you choose between the original euclidean algorithm and the modern one (that you implemented):
w.w.w.takerindempo.ta.funpic.de/DATEIEN/OldAndNewEuclideanAlgorithm.txt
henryanki 1 year ago
nice
DrLsw 2 years ago
Cool!
5 stars!
Sk8eRPR 2 years ago
excellent video!
LeaivaOnline 2 years ago