New Member FAQ
|
Forums
|
Earn Revenue
Resources
Entrance
Ask Experts
Exam Papers
Jobs
English
Projects
Universities
Colleges
Courses
Schools
Training
My India
Members
|
Communities
|
Business Directory
|
Classifieds
|
Reviews
|
Silverlight Games
|
Peer Appraisal
|
Bookmarks
|
Polls
|
Mentors
|
Links
|
MCA Projects
|
Lobby
|
Gift Shop
|
Chat
|
New Posts
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
N K Ravishanka...
(128)
Vandana
(90)
karthik
(87)
Last 7 Days
N K Ravishanka...
(881)
Shankar Ganesh
(763)
karthik
(649)
more...
Awards & Gifts
Online Exams
Aptitude Questions
General Aptitude Tests
Medical Entrance
Engineering Entrance
Bank Tests
TOEFL & IELTS Questions
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
Computing a factorial in a for loop
Posted Date: Total Responses:
0
Posted By:
Sunil Reddy
Member Level:
Platinum
Points/Cash
: 3
using System;
class Factorial
{
public static void Main(string ar[])
{
long nFactorial =1;
long nComputeTo =5;
long nCurDig = 1;
for(nCurDig = 1; nCurDig < = nComputeTo; nCurDig ++)
nFactorial * = nCurDig;
Console.WriteLine(" {0}! is {1} ", nComputeTo , nFactorial);
Console.ReadLine( " ");
}
}
}
Project Feedbacks
No feedbacks found. Be the first to respond and make money from
revenue sharing program
.
Post Feedback
You must
Sign In
to post a feedback.
Next Project:
Using a SWITCH statement display the DAYS in a MONTH
Previous Project:
Computing average in a DO loop
Return to Project Index
Post New Project
Related Projects
Depth First Search-Traversal
Formula Editor in Visual Studio 2008
Project to perform operations with complex numbers
IFormula Creator Operation in C Sharp
Elementary real constant IDerivation Operation
Contact Us
Advertise
Editors
Privacy Policy
Terms Of Use
AdSense Revenue Sharing sites
ISC Technologies.
2006 - 2009 All Rights Reserved.