Вычислить S=5!/x
Категория: Basic
2012-03-16 16:37:37
code: #basic
REM program CLS factorial = 1 INPUT "Enter x: ", x FOR i = 1 TO 5 factorial = factorial * i NEXT i PRINT "Result: ", factorial / x END
автор: julergx
Поделиться:
REM program CLS factorial = 1 INPUT "Enter x: ", x FOR i = 1 TO 5 factorial = factorial * i NEXT i PRINT "Result: ", factorial / x END
автор: julergx