R study notes
Monday, October 20, 2014
Exercises-8
Given a vector x determine if x is sorted in ascending order
if(n<=0)
{
fact=1
}
else
{
face=1
for (i in 2:n)
{
fact=fact*i
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment