Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
factorial code
n=as.integer(readline(prompt = "enter the value:")) fact=1 if(n<0){ print("not possible") }else if(n==0){ print("factorial value is 1") }else{ for(i in 1:n) fact=fact*i } print(paste("factorial of",n,"is",fact))
run
|
edit
|
history
|
help
0
Área de un cuadrado
SAMPLING
31-08-2020-Exemplo AjusteNaoL
Chi-squared tests of independence [m musculoskeletal injuries treated]
Numbers game from British game show Countdown
jessray
Data Transformation
31-08-2020-Exemplo Ajuste
19-08-2020-JacobiSistema
Multinomial Logistic Regression Sample