Cosmos: Check if number is a perfect number

Created on 4 Oct 2017  路  18Comments  路  Source: OpenGenus/cosmos

Hacktoberfest add code new algorithm

All 18 comments

@AdiChat I'd like to do this in C++ or python :)

Sure. Go for it 馃憤

I'd like to do this in C++, I can do it in python too. Pretty much whichever language @manan904 doesn't do

@AdiChat Implementing this in Python

@imfaizz Where should i make the PR?

Create a folder perfect_number under mathematical_algorithms and add code to this folder

Major issue. I will correct it immediately 馃憤

To avoid this in future, folder name should be decided before pull requests if it does not exist 馃憤

I was going by:

Create a folder perfect_number under mathematical_algorithms and add code to this folder

I made a PR for the python one, but I don't know which of the three C++ ones you want to keep.

Resolved 馃憤

I will set a naming convention (though the folder name you used is what is implied from previous versions and will be used subsequently) to avoid such issues and make corresponding change soon 馃憤

@AlexanderDavid What do you mean by manan doesn't do???

``
PerfectNumber.txt

C++ file for PerfectNumber

Perfect number checker in Rust #544

@manan904 You said you'd do it in python /or/ C++. So I picked the one you wouldn't do it in

Will implement in ruby :)

Sure. Go ahead 馃憤

Made it in Kotlin #2833

Was this page helpful?
0 / 5 - 0 ratings

Related issues

qoo2p5 picture qoo2p5  路  4Comments

ruchirchauhan picture ruchirchauhan  路  4Comments

ms10398 picture ms10398  路  4Comments

rhendz picture rhendz  路  4Comments

arnavb picture arnavb  路  3Comments