/*
* 实现9*9乘法表
*/
object Demo4{
for(i<- 0 to 9)
{
for(j<-0 to i)
print(i+”*”+j+”=”+i*j+”\t”)
println()
}
def main(args: Array[String]): Unit = {
}
}
/*
* 实现9*9乘法表
*/
object Demo4{
for(i<- 0 to 9)
{
for(j<-0 to i)
print(i+”*”+j+”=”+i*j+”\t”)
println()
}
def main(args: Array[String]): Unit = {
}
}