TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Elias Kaerhoeg
NA
2
2k
Beginner help
Oct 6 2014 12:05 PM
I am trying to make a program that can find all the wilson primes(i know it will be useless and wont get further than the first 3 known)
but it is still bugging be that the code returns nothing
using
System
;
namespace
Wilson_Primes
{
class
MainClass
{
public
static
void
Main
(
string
[]
args
)
{
int
count
=
1
;
int
basenumber
=
0
;
int
final
,
i
;
while
(
count
>
0
){
int
prime
=
basenumber
-
1
;
for
(
i
=
prime
-
1
;
i
>
=
1
;
i
--
)
{
final
=
prime
*
i
;
Console
.
WriteLine
(
final
)
;
}
count
=
count
+
1
;
}
}
}
}
Reply
Answers (
1
)
Restore database through c# codings
please helpppp how to add record to database with gridjanus