Do the prgrm of LCM in C++....pleeeeeeeeeeeeeeeeeeeeez....,this is serious prblm for me.....must solve it for me....
Do the prgrm of LCM in C++....pleeeeeeeeeeeeeeeeeeeeez....,this is serious prblm for me.....must solve it for me....
thanks. why can't u do it?
ok i will make the LCM program for you beacuse i m the student of BCs
Here is an example....further on google it
/* a & b are the numbers whose LCM is to be found */
int lcm(int a,int b)
{
int n;
for(n=1;;n++)
{
if(n%a == 0 && n%b == 0)
return n;
}
}
sallam
aap aise karo hexadecimal k naam se 1 table hai yahan hi rakha hai main ne chk karo lo vo us se aap ka kaamhojayega other wise phr b zaroorat ho to main yahan hi hota hoo
how can this program execute????? isn't some error????
:'(
I think no errors.
Bookmarks