how do i use set.seed? for example i want to generate fix x with different value of y each time i.e

genarate x<-rnorm(10)
generate y<-rnorm(10)
i want have x fix but y changes at each iteration. this what i try but is not working


{
set.seed(100)
 
x<-10*runif(10)
}
x
set.seed(y<-rnorm(10))
y
	[[alternative HTML version deleted]]

