Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > c# coding

Reply
Thread Tools

c# coding

 
 
lovey dovey via .NET 247
Guest
Posts: n/a
 
      05-04-2004
(Type your message here)

--------------------------------
From: lovey dovey

I need help in writing a program that takes any integer and calculates its factorial. Also i need to ensure proper
error checking that the variable that is storing the variable does not overflow with my result. Assuming that i am storing my results in a long, what is the maximum input value that my program should accept?
I am new to C#.Can anyone help me with the solution.
Thanx a ton.
Bye.

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>x0poY95lBkyQnr11eSyjBg==</Id>
 
Reply With Quote
 
 
 
 
AlexS
Guest
Posts: n/a
 
      05-04-2004
Hey, lovey dovey

Either you stick to L-D paradigm of yours, either you have to take the books
your teaches assigned you to and start learning.
Of course you can plan to fake you're programmer after finishing your course
using newsgroups - however in the long run it will be short run

HTH
Alex

"lovey dovey via .NET 247" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> (Type your message here)
>
> --------------------------------
> From: lovey dovey
>
> I need help in writing a program that takes any integer and calculates its

factorial. Also i need to ensure proper
> error checking that the variable that is storing the variable does not

overflow with my result. Assuming that i am storing my results in a long,
what is the maximum input value that my program should accept?
> I am new to C#.Can anyone help me with the solution.
> Thanx a ton.
> Bye.
>
> -----------------------
> Posted by a user from .NET 247 (http://www.dotnet247.com/)
>
> <Id>x0poY95lBkyQnr11eSyjBg==</Id>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
general coding issues - coding style... calmar Python 11 02-21-2006 10:36 AM
Saved webpages, URL coding doesn't work in FF. Any solution? Galaxy Firefox 0 07-23-2004 01:19 PM
Colour coding senders/recipients like in Outlook 2000? Galaxy Firefox 1 07-16-2004 01:14 AM
Thunderbird character coding Peter Stewart Firefox 0 07-01-2004 04:12 AM
Re: Coding a c# wrapper class to unmanaged C++ program, need some guidance Brendan Duffy ASP .Net 0 07-25-2003 12:49 AM



Advertisments