循环中有循环
object TsetFor2 { def main(args: Array[String]): Unit = { for(i<-1 to 9){ for (j<-1 to 9){ print(s"$i*$j=${i*j}\t") } println() } } }
循环中有循环
object TsetFor2 { def main(args: Array[String]): Unit = { for(i<-1 to 9){ for (j<-1 to 9){ print(s"$i*$j=${i*j}\t") } println() } } }