Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kelly Manahan #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

kellymanahans
Copy link

No description provided.

@frankfaustino
Copy link

Nice job so far! 👌


{ int counter = 0;
for( int i = 1; i <=n; i++) {
if (i % 15 == 0)

Choose a reason for hiding this comment

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

This is fine, but it would be better if the instructions for the program told what to do if it was divisible by 3 and divisible by 5...that way in the grand scheme of things....it's only looking for numbers that are divisible by 3 and 5...not 3, 5 and 15.

if(i % 3 == 0 && i % 5 == 0){
            printf("Fizzbuzz \n");
        }

@@ -53,7 +60,7 @@ void string_copy(char *x, char *y)
*/
int string_compare(char *m, char *n)
{

Choose a reason for hiding this comment

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

No code here for string_compare. Other stuff looks good. Try string_compare!

@@ -35,4 +60,4 @@ int main(void)

return 0;
}

Choose a reason for hiding this comment

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

tested. works. great job!

arr++;
}
rv[rvlen] ='\0';
return rv;
}

#ifndef TESTING

Choose a reason for hiding this comment

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

looks good. tested.

free(who -> name);
}
free(who);
}
}

#ifndef TESTING

Choose a reason for hiding this comment

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

tested. works! great work!

@ckopecky
Copy link

ckopecky commented Nov 21, 2018

  • fizzbuzz
  • strings
  • pointers
  • quicksort
  • malloc
  • structs
  • queue
  • [Stretch Goal] hangman

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.

3 participants