answersLogoWhite

0


Best Answer

No

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can HCFand LCM be 0
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

How do you find the equation of a plane on a 3D graph if you have the X- Y- and Z-intercepts?

First, find the LCM (Least Common Multiple) of the three intercepts. Second, divide the LCM by the X-Intercept. Repeat for the Y- and Z-Intercepts. Third, take the three values, and put them together like this: (LCM/X-Intercept)x+(LCM/Y-Intercept)y+(LCM/Z-Intercept)z=LCM If it need it, you can simplify it. For example, if you have a plane with the intercepts (5, 0, 0), (0, 2, 0), and (0, 0, 3), the the LCM would be 30, so you would have: (30/5)x+(30/2)y+(30/3)z=30 6x+15y+10z=30


A program in C that accepts 15 different numbers and find the LCM and HCM?

/* To Get The LCM Of 15 Nos in C++/ C(Just Change cin to scanf & cout to printf) */ /* Developed By Kishore Kr. Banerjee - papillon_kish@yahoo.com*/ #include <iostream.h> #include <conio.h> main() { int num[15],i,j,n1,n2,LCM,flag; clrscr(); for(i=0;i<15;i=i+1) { cout<<"Enter No - "<<i+1<<"="; cin>>num[i]; } clrscr(); n1=num[0]; for(i=1;i<15;i=i+1) { n2=num[i]; LCM=1; for(j=1;n1%j==0n2%j==0;j=j+1) { if(n1%j==0) { n1=n1/j; flag=1; } if(n2%j==0) { n2=n2/j; flag=1; } if(flag==1) { LCM=LCM*j; } } LCM=LCM*n1*n2; n1=LCM; } cout<<"the LCM ="<<LCM; getch(); }


What is the LCM of 3 and 7 that ends with a 0?

None. The Least Common Multiple (LCM) for 3 7 is 21.


Write a program that accepts 15 different numbers and find the LCM and HCM?

/* Program to find LCM/HCF of 15 Nos in C++/ C (replace cin with scanf & cout with printf for c) */ /* Developed by - Kishore Kr. Banerjee - papillon_kish@yahoo.com */ #include <iostream.h> #include <conio.h> main() { int num[3],i,j,p,q,tmp,n1,n2,LCM,rem,flag; clrscr(); for(i=0;i<3;i=i+1) { cout<<"Enter No - "<<i+1<<"="; cin>>num[i]; } clrscr(); n1=num[0]; p=n1; for(i=1;i<3;i=i+1) { n2=num[i]; /* Finding HCF */ q=n2; if(p<q) { tmp=q; q=p; p=tmp; } while(p%q!=0) { rem=p%q; q=p; p=rem; if(p<q) { tmp=q; q=p; p=tmp; } } /*finding LCM */ LCM=1; for(j=1;n1%j==0n2%j==0;j=j+1) { if(n1%j==0) { n1=n1/j; flag=1; } if(n2%j==0) { n2=n2/j; flag=1; } if(flag==1) { LCM=LCM*j; } } LCM=LCM*n1*n2; n1=LCM; } cout<<"the LCM ="<<LCM; cout<<"the hcf ="<<q; getch(); } ----- int gcd (int a, int b) { . int tmp; . if (a<0) a= -a; . if (b<0) b= -b; . if (a<b) tmp= a, a= b, b= tmp; . while (b) { . . tmp= a%b; . . a= b; . . b= tmp; . } . return a; } int gcd_n (int n, const int *vect) { . int i, gcdtmp; . for (i=0, gcdtmp=0; i<n && gcdtmp!=1; ++i) . . gcdtmp= gcd (gcdtmp, vect[i]); . return gcdtmp; } int LCM (int a, int b) { . int d= gcd (a, b); . if (d==0) return d; . else return a/d*b; } int lcm_n (int n, const int *vect) { . int i, lcmtmp; . for (i=0, lcmtmp=1; i<n; ++i) . . lcmtmp= LCM (lcmtmp, vect[i]); . return lcmtmp; }


What is the least common multiple of 5 8 12 and 10?

LCM of 5, 8, 10, and 12. 5 = 5 8 = 23 10 = 2 x 5 12 = 23 x 3 LCM = 23 x 3 x 5 = 120 Or, since 5 is the only odd number, the LCM will end with 0. One of the multiples of 12 ending with 0 is 60 or 120. Since 60 is not divided evenly by 8, then 120 is the LCM.

Related questions

What is the HCFand LCM of 30 or 40?

The Greatest Common Factor (GCF) of (30,40) is 10The Least Common Multiple (LCM) of (30,40) is 120


What Is The LCM Of 0 And 50?

LCM of 0 & 50 doesn't exist.


What is the LCM of 0 1 and 2?

LCM of 0 1 and 2 is 2.


What is the LCM of 14 and 0?

0 because 14x0=0 and 0x0=0


How do you find the LCM and GCF of two no in c?

#include<stdio.h> main() { int a,b,i,lcm,gcf; printf("\n Enter two numbers"); scanf("%d%d",&a,&b); for(i=0;i<=a;i++) { if((b%i==0)&&(a%i==0)) { gcf=i; } } lcm=a*b/gcf; printf("\n GCF is %d and LCM is %d",gcf,lcm); }


WHAT IS the LCM of 30 6 and 0?

Least common multiples do not use zero as a multiple, as the LCM for any number and zero is zero.


What is the LCM of 39 15 and 10?

The concept of LCM does not apply to sets containing 0.


What is the LCM of percent 0 and 6?

The concept of LCM makes sense only for non-zero integers. Otherwise, the least common multiple will always be 0.


Why do we not use 0 as the LCM of two numbers?

Let's start with an example: 1/2 + 1/3 To add these two fractions, you first need to find the LCM which here is 6 Then you change both denominators to 6 and the problem becomes 3/6 + 2/6 = 5/6 Now if the LCM were 0, then you would get a denominator, 0. But you can not divide by 0. It becomes meaningless. So the LCM always excludes 0


How do you find the equation of a plane on a 3D graph if you have the X- Y- and Z-intercepts?

First, find the LCM (Least Common Multiple) of the three intercepts. Second, divide the LCM by the X-Intercept. Repeat for the Y- and Z-Intercepts. Third, take the three values, and put them together like this: (LCM/X-Intercept)x+(LCM/Y-Intercept)y+(LCM/Z-Intercept)z=LCM If it need it, you can simplify it. For example, if you have a plane with the intercepts (5, 0, 0), (0, 2, 0), and (0, 0, 3), the the LCM would be 30, so you would have: (30/5)x+(30/2)y+(30/3)z=30 6x+15y+10z=30


What is the LCM of 25 and 0?

The LCM is not defined for any set of numbers that contains a zero.


A program in C that accepts 15 different numbers and find the LCM and HCM?

/* To Get The LCM Of 15 Nos in C++/ C(Just Change cin to scanf & cout to printf) */ /* Developed By Kishore Kr. Banerjee - papillon_kish@yahoo.com*/ #include <iostream.h> #include <conio.h> main() { int num[15],i,j,n1,n2,LCM,flag; clrscr(); for(i=0;i<15;i=i+1) { cout<<"Enter No - "<<i+1<<"="; cin>>num[i]; } clrscr(); n1=num[0]; for(i=1;i<15;i=i+1) { n2=num[i]; LCM=1; for(j=1;n1%j==0n2%j==0;j=j+1) { if(n1%j==0) { n1=n1/j; flag=1; } if(n2%j==0) { n2=n2/j; flag=1; } if(flag==1) { LCM=LCM*j; } } LCM=LCM*n1*n2; n1=LCM; } cout<<"the LCM ="<<LCM; getch(); }