Skip to content

Conversation

@Pulgit555
Copy link
Contributor

I have added a Cprogram to check whether a no. is prime or not.
I have used math.h library and used sqrt predefined function and break condition to reduce the time complexity of the code to run.

@gouravthakur39
Copy link
Owner

@Pulkit555

  1. Users should know what to enter.
  2. Remove extra binary file

@Pulgit555
Copy link
Contributor Author

I have made the changes according to you.
please check and verify me.

@gouravthakur39
Copy link
Owner

@Pulkit555 Result is always "Yes". Please fix it.

@gouravthakur39
Copy link
Owner

@Pulkit555 Also, the binary file is still there. please remove it. You need to exclude it while committing.
Instructions for git in case you don't know:

  1. git status - Tells what file changed
  2. git add filename - files to be added for commit.
    You need to do git add swappingwithoutthirdvariable.cand then
  3. git commit -m "your commit message"
    Obviously, I am assuming things here.

@gouravthakur39
Copy link
Owner

@Pulkit555 The binary file is still there.

@gouravthakur39 gouravthakur39 merged commit 0880315 into gouravthakur39:master Oct 7, 2019
@Pulgit555
Copy link
Contributor Author

Thanks for merging my file .How could I contribute further?

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