• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

How do make a program that will i find the GCD of two numbers

using For loop

c++
24th Aug 2017, 7:30 PM
IsHmAeL
IsHmAeL - avatar
2 Answers
+ 5
here is C++: https://code.sololearn.com/c8PENpN7oBTG/?ref=app
24th Aug 2017, 7:54 PM
P R
P R - avatar
- 1
This gives you the gcd AND u & v such that Au+Bv=gcd https://code.sololearn.com/ca6FkuqzLXdT/?ref=app
24th Aug 2017, 7:47 PM
VcC
VcC - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Should i learn python more or HTML?
2 Votes
how much time will it take to learn python OOP if i spend 1 hour everyday
0 Votes
Is it good for student to study C++ first?
0 Votes
How to start learning Python programming?
1 Votes
Active learner
0 Votes
Does solving a code coach actually give XPs?
4 Votes
Code challenge
0 Votes
A Little Question Here!
1 Votes
finding my compiler path
0 Votes
(Resolved) Error: Gcc undefined reference to sha 256 đŸ™„đŸ€ŠđŸœâ€â™€ïž
1 Votes