-
Notifications
You must be signed in to change notification settings - Fork 386
HCF & LCM #156
Comments
Ans please
…On Wed, 9 Dec 2020, 15:51 devmalik7, ***@***.***> wrote:
Write a program to find the HCF and LCM of the given number without using
the multiplication and division.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#156>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARSXLXVR2Z744ZJ3Y23S2H3ST5CCFANCNFSM4UTHM7JA>
.
|
I want to work on this issue. |
@Sooraj2002 sure |
//PROGRAM TO FIND HCF OF TWO NO'S |
//Program to find the LCM of two numbers #include <stdio.h> int main(){
} |
|
/Write a program to find the HCF and LCM of the given number without using the multiplication and division./ #include<bits/stdc++.h>
} int divide(int x, int y){
} // Driver code printf("Enter two integers\n"); a = x; while (b != 0) { hcf = a; printf("Highest Common Factor of %d and %d = %d\n", x, y, hcf); return 0; |
You can try this out. |
Write a program to find the HCF and LCM of the given number without using the multiplication and division.
The text was updated successfully, but these errors were encountered: