Skip to content

Conversation

harpreet-nerd
Copy link

@ajabble i have modified program.txt file please check

@@ -0,0 +1,15 @@
define factorial(int n){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add doc for factorial method.

}


define EvenOdd(int num){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method name in camel case. Also Please add doc for this method.

@@ -0,0 +1,15 @@
define factorial(int n){
int fact = 1;
for(i = 1; i <= n; i++){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space before "{" brace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants