Skip to content

Commit df438d3

Browse files
authored
Git? A strain of insect I presume.
1 parent 4df9cbb commit df438d3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

01.BaseProgrammer.c

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/// Though you knew how prime number worked, it took a long time
2-
/// to come up with this logic. Also, You made several mistakes
3-
/// on the way. And now, you are proud of your brilliant solution.
1+
/// Though u knew how prime number works (of course u r good @ math),
2+
/// it took a long time to come up with the logic. Also, u made several
3+
/// mistakes on the way. And now, u are proud of ur brilliant solution.
4+
/// YES!!!
45

56
int func(int a)
67
{
@@ -11,11 +12,11 @@ for(i=1; i<=a ; i=i+1 )
1112
{
1213
if(a%i == 0)
1314
{x=x+1 ;}
14-
}
15+
}
1516
if( x == 2)
1617
{r = 1;}
1718
else
1819
{r = 0;}
19-
return r ;
20+
return r ;
2021

2122
}

0 commit comments

Comments
 (0)