Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,598,423 members, 6,030,877 topics. Date: Thursday, 03 December 2020 at 11:16 PM

Program To Find The Hcf Of Two Numbers - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Program To Find The Hcf Of Two Numbers (1209 Views)

A Python Program To Check The Risk Of Corona Virus. / What The Best C++ Program To Download ? / How To Use C++ Program To Add, Subtract, Multiply Or Divide (2) (3) (4)

(1) (Reply) (Go Down)

Program To Find The Hcf Of Two Numbers by ABCthingx: 3:44pm On Dec 16, 2019
Python:

#Program to calc Hcf

print ("PROGRAM TO CALC HCF OF TWO NUMBERS"wink
print (" by ABCx"wink
x = int(input("Num1: "wink)
y = int(input("Num2: "wink)

def hcfy(a, b):
c = 2
hcf = 1
while(b >= c <= a):
if (a % c == 0) and (b % c == 0):
hcf = c
c += 1
return hcf
print("HCF: ", hcfy(x, y))

1 Like 2 Shares

Re: Program To Find The Hcf Of Two Numbers by GeoAfrikana(m): 11:45am On Dec 22, 2019
ABCthingx:
Python:

#Program to calc Hcf

print ("PROGRAM TO CALC HCF OF TWO NUMBERS"wink
print (" by ABCx"wink
x = int(input("Num1: "wink)
y = int(input("Num2: "wink)

def hcfy(a, b):
c = 2
hcf = 1
while(b >= c <= a):
if (a % c == 0) and (b % c == 0):
hcf = c
c += 1
return hcf
print("HCF: ", hcfy(x, y))

Very interesting Python block. Good job sir.

1 Like

Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 12:11pm On Dec 22, 2019
GeoAfrikana:


Very interesting Python block. Good job
Thanks smiley

1 Like

Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 8:34am On Nov 19
I can't use my email now.
VickyRotex:


lol pele hun. We appreciate all that you're doing to make the tribute work. Thanks a lot.

Not sure if you already reached out, but if you haven't and still need help to put this together, please feel free to reach out and let us know.

Thanks!
About this. If I were to add a little vocal to the first song that would cost about 5k. Or if I am to turn it into a full song and get the sounds mastered that will be mininum 10k.(yep. That video wasn't mastered I didn't even test it on a speaker)

If you notice you will see that it getting closer to the price I mentioned that day, that's because the higher the price the more they would be willing to work with us.

I would like to hear what you've to say about this. smiley

Cc
Bantino
Bartork

1 Like

Re: Program To Find The Hcf Of Two Numbers by VickyRotex(f): 3:00am On Nov 20
ABCthingx:
I can't use my email now.

About this. If I were to add a little vocal to the first song that would cost about 5k. Or if I am to turn it into a full song and get the sounds mastered that will be mininum 10k.(yep. That video wasn't mastered I didn't even test it on a speaker)

If you notice you will see that it getting closer to the price I mentioned that day, that's because the higher the price the more they would be willing to work with us.

I would like to hear what you've to say about this. smiley

Cc
Bantino
Bartork

You mean the email I replied to?

Thanks for the breakdown. Okay, please send your account details to Bantino, Bartork or myself. We will see what we can do and get back to you.

Do you know when this can be ready assuming we send you something this weekend?

Thanks again for all the work.

1 Like

Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 11:58am On Nov 20
VickyRotex:


.
I've replied the mail. Thanks.
Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 4:11pm On Nov 22
Field report... Yeah, though quite sunny we set out to meet the studio guy. Me, the artist, the guy who knows the studio guy and the guy who knows the guy who knows the studio guy.

Unfortunately by the time we got there the studio guy was just about going out despite the assurance we got from the guy who knows the studio guy that he would be around.

All in all we ended up using N500 for transport and some light refreshment. Tomorrow is another day to try.

VickyRotex, Bantino.
Re: Program To Find The Hcf Of Two Numbers by Bantino: 5:20pm On Nov 22
ABCthingx:
Field report... Yeah, though quite sunny we set out to meet the studio guy. Me, the artist, the guy who knows the studio guy and the guy who knows the guy who knows the studio guy.

Unfortunately by the time we got there the studio guy was just about going out despite the assurance we got from the guy who knows the studio guy that he would be around.

All in all we ended up using N500 for transport and some light refreshment. Tomorrow is another day to try.

VickyRotex, Bantino.

It's ok, but try as much as possible to meet up with the time set,

1 Like

Re: Program To Find The Hcf Of Two Numbers by VickyRotex(f): 6:41pm On Nov 22
ABCthingx:
I've replied the mail. Thanks.

Thanks, saw your update above. Please proceed as Bantino advised and let's try to meet up with the deadline.

Still awaiting you to confirm that you've received the transfer from yesterday.
Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 5:02am On Nov 23
VickyRotex:


Thanks, saw your update above. Please proceed as Bantino advised and let's try to meet up with the deadline.

Still awaiting you to confirm that you've received the transfer from yesterday.
Thanks, I have.
Re: Program To Find The Hcf Of Two Numbers by Bantino: 8:08am On Nov 23
ABCthingx:
Thanks, I have.

Very good. Please do the needful as soon as you can. Thanks
Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 5:28pm On Nov 23
Updates...yo! Everything today the transport, kunus and meat pies, the money for the artist and the studio guy and more rounded is N3000 together with yesterday N500 is N3500 alltogether. So we have a balance of N1500.

The studio guy though i'm just meeting him really tried for us. There was no light as usual so we burnt his fuel.. lipsrsealed

VickyRotex, lemme have your acc. no. so I can send the balance back. I'll be remaking the vid. and sending it later this night. smiley

2 Likes

Re: Program To Find The Hcf Of Two Numbers by Bantino: 7:02pm On Nov 24
ABCthingx:
Updates...yo! Everything today the transport, kunus and meat pies, the money for the artist and the studio guy and more rounded is N3000 together with yesterday N500 is N3500 alltogether. So we have a balance of N1500.

The studio guy though i'm just meeting him really tried for us. There was no light as usual so we burnt his fuel.. lipsrsealed

VickyRotex, lemme have your acc. no. so I can send the balance back. I'll be remaking the vid. and sending it later this night. smiley

Good job Abcthingx, kudos.

I received the link on my email. You did great, it's awesome

1 Like

Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 7:49pm On Nov 24
Bantino:


Good job Abcthingx, kudos.

I received the link on my email. You did great, it's awesome
thank you sir! smiley
Re: Program To Find The Hcf Of Two Numbers by VickyRotex(f): 12:29am On Nov 25
ABCthingx:
Updates...yo! Everything today the transport, kunus and meat pies, the money for the artist and the studio guy and more rounded is N3000 together with yesterday N500 is N3500 alltogether. So we have a balance of N1500.

The studio guy though i'm just meeting him really tried for us. There was no light as usual so we burnt his fuel.. lipsrsealed

VickyRotex, lemme have your acc. no. so I can send the balance back. I'll be remaking the vid. and sending it later this night. smiley

Hey hun,

I've seen the updated tribute video, great job! Thanks alot. smiley

Please don't worry about sending the balance.

Thanks for all the work. God bless you!
Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 8:57am On Nov 25
VickyRotex:


Hey hun,

I've seen the updated tribute video, great job! Thanks alot. smiley

Please don't worry about sending the balance.

Thanks for all the work. God bless you!
Thanks hun, I'm so happy that we are able to complete everything. grin

Please update me as everything unfolds today. You guys are doing a great work too. smiley

1 Like

Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 8:59am On Nov 25
VickyRotex:


Hey hun,

I've seen the updated tribute video, great job! Thanks alot. smiley

Please don't worry about sending the balance.

Thanks for all the work. God bless you!
Thanks again! grin

1 Like

Re: Program To Find The Hcf Of Two Numbers by VickyRotex(f): 12:13am On Nov 26
ABCthingx:
Thanks hun, I'm so happy that we are able to complete everything. grin

Please update me as everything unfolds today. You guys are doing a great work too. smiley
ABCthingx:
Thanks again! grin

You're welcome, dear. smiley

You're one of the folks that made this possible. Thanks and may God bless and perfect all that concerns you! smiley

1 Like

Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 12:36am On Nov 26
VickyRotex:



You're welcome, dear. smiley

You're one of the folks that made this possible. Thanks and may God bless and perfect all that concerns you! smiley
Amen. God bless you too.

1 Like

Re: Program To Find The Hcf Of Two Numbers by Bantino: 9:29pm On Nov 28
ABCthingx:
Amen. God bless you too.

An appreciation token of 2k was sent to the account you provided for a job well done. Courtesy of VickyRotex

Have a wonderful weekend

2 Likes

Re: Program To Find The Hcf Of Two Numbers by ABCthingx: 7:42pm On Nov 29
@VickyRotex

Wow! I wasn't expecting this.
This will really go a long way for the song I plan to produce next month.
Honestly, I can't thank you enough. I pray that God Almighty will reward you abundantly IJN.
Bantino:


An appreciation token of 2k was sent to the account you provided for a job well done. Courtesy of VickyRotex

Have a wonderful weekend
Thank you so much sir! I greatly appreciate this. smiley

1 Like

Re: Program To Find The Hcf Of Two Numbers by VickyRotex(f): 2:27am On Nov 30
ABCthingx:
@VickyRotex

Wow! I wasn't expecting this.
This will really go a long way for the song I plan to produce next month.
Honestly, I can't thank you enough. I pray that God Almighty will reward you abundantly IJN.

Hey hun,

It's my pleasure. Bless God. Thanks again for all the work.

And good luck with the song. Let Likers paradise know when we can listen to the song cool

Amen and God bless you too! Cheers.

1 Like

(1) (Reply)

Boompay Is An Affiliate Program / On .net Skill. Pls Help / Skilled Web Developer Needed

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 90
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.