Comment imprimer le message dans Scala

// Scala program of print
// functions
  
// Creating an object
object GfG
{
  
    // Main method
    def main(args: Array[String]) 
    {
  
        // Applying console with println
        Console.println("GeeksfoGeeks")
  
        // Displays output with no
        // trailing lines
        print("CS")
        print("_portal")
  
        // Used for a newline
        println()
  
        // Displays format string
        printf("Age = %d", 24)
    }
}

//Output:
//GeeksfoGeeks
//CS_portal
//Age = 24
Asif Iqbal Paracha