Else If Scala

[Solved] Else If Scala | Scala - Code Explorer | yomemimo.com
Question : else if scala

Answered by : perfect-panda-pj0fe2lt06m9

if ( x == 10 ) {	println("Value of X is 10");
} else if ( x == 20 ) {	println("Value of X is 20");
} else {	println("idk");
}

Source : | Last Update : Fri, 18 Feb 22

Answers related to else if scala

Code Explorer Popular Question For Scala