for yield and if code example Example: scala yield how to share one loop for(x <- c1; y <- c2; z <-c3) {...}