Learn2progWikkaSite : NsdFakultaetIterativ

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
@start struktogramm main
Struktogramm could be a Function
main( )
{
@* Declarations *
int x ;
int temp = 1 ;

@* Program *
Msg:Von welcher Zahl soll die Fakultaet berechnet werden ?
Input: x
while (x > 1)
{
temp = temp * x;
x = x - 1;
}
Output: temp
}
@end struktogramm

Categories
CategoryNsd

There are 3 comments on this page. [Display comments]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.3