Вычислите выражение «44 + 15 + 20» на различных языках программирования.

Вот несколько примеров языков программирования для вычисления выражения «44 + 15 + 20»:

  1. Python:

    result = 44 + 15 + 20
    print(result)
  2. JavaScript:

    var result = 44 + 15 + 20;
    console.log(result);
  3. Java:

    int result = 44 + 15 + 20;
    System.out.println(result);
  4. C#:

    int result = 44 + 15 + 20;
    Console.WriteLine(result);
  5. Рубин:

    result = 44 + 15 + 20
    puts result
  6. PHP:

    $result = 44 + 15 + 20;
    echo $result;
  7. Идем:

    package main
    import "fmt"
    func main() {
    result := 44 + 15 + 20
    fmt.Println(result)
    }
  8. Скорость:

    let result = 44 + 15 + 20
    print(result)
  9. Ржавчина:

    fn main() {
    let result = 44 + 15 + 20;
    println!("{}", result);
    }