Read number(N)keyed in by user
Set factorial to 1
While N is not equal to 0
Set factorial=factorial*N
Set N= N-1
End While
Display factorial
yayaza 0 Newbie Poster
finito 46 Nearly a Posting Virtuoso
yayaza 0 Newbie Poster
apegram 302 LINQ! Team Colleague
yayaza 0 Newbie Poster
finito 46 Nearly a Posting Virtuoso
yayaza 0 Newbie Poster
finito 46 Nearly a Posting Virtuoso
yayaza 0 Newbie Poster
finito 46 Nearly a Posting Virtuoso
yayaza 0 Newbie Poster
finito 46 Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.